javascript - How to automatically click a division using jquery -


i have created buttons using jquery , when click them event occurs, want 1 of button remain in clicked state can see same effect see after when click same button. example have created button using division named "btn" know code in jquery keep in clicked state.

you can on document ready:

$(function () {     $("#btn").trigger("click"); }); 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -