I am trying to make a button with click function to run my jquery:
Function tester(){alert("test")}
My raw html button code is:
<button class="t1" id="52" onClick="tester()">sometext</button>
But i want to make the button using just jquery code…
How can I make this button with jquery?
You can use append() function
have a div
jQuery :
or
Btw
Function .. f should be small