upper noob question; implement <button id> into jQ
by default the button id is executed, but i need it to have it executed once it is clicked
so what i am thinking is to change the button code from
<button id="fade">Fade Toggle</button>
into:
<button>Fade Toggle</button>
and than something added to jQ code, but i dont know how to... so something like this:
- $("button").click(function(){
- //button id here
- $("#fade"); //.live('click', function()
- });
anyone?
cheerz!