Murali P

Murali P

  • 1.5k
  • 212
  • 22.2k

Difference between input and button tag in jquery

Jun 23 2022 9:35 AM

Hi ,

 can any one give the difference between the below code. Since am a learner of jquery.

<input id="search" type="button" onclick="Open('Number')" class="ehr-icon-search" aria-label="Search"/>

Other code:

<Button id="Search" onclick="Open('Number')" class="ehr-icon-search" aria-label="Search"/></button>

thanks in advance


Answers (2)