Hi
i read a couple of tutorials an try do understand jquery.
one question is in my head:
normally i have buttons like
- HTML
- <button type='button' name='testbtn' onClick='dosome('1','cars')' value='T1'>T1</button>
Now in JQuery i would do something like this
- HTML
- <button type='button' id='idtestbtn' value='T1'>T1</button>
- external JS-File
- $(document).ready(function()
{
$('#idtestbtn').click(function(){
...
})
});
How can i pass the parms"1" and "cars" to the jQuery Code for Click in the JS-File ??
Bye jogi