javascript - JQuery : Event for a button -


I'm a newbie for jQuery and it likes

Did anyone call me a small jQuery code snippet Show a warning / dev of a button (with ID btnSave) when clicked.

You should do something like this:

  & lt; Div id = 'alert' & gt; ALERT! & Lt; / Div & gt; $ ('#btn save'). Click (function () {$ ('# Alert'). Show ();});  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -