Hi, How do I get the index of the currently clicked textbox? I have 5 textboxes in a form, all of which I am binding a click event. Here is the code:
$("#associate-form input[type=text]").bind("click", function() { alert(this); //what is its index position from the 5 other textboxes? }); Thanks in advance.