I am very new to jquery and I am unable to call more than one function instance.
i has a function
$('#open_dialog').click(function(){ $("#dialog").dialog("open"); return false; });
To call this function, I have a href link with the id tag name open_dialog. Obviously, this works great if this is the only link on the page that references the function (one-to-one relationships). However, I want to (many-to-one relationship).
I have a table of 25 entries, and I require that each of my entries have a link that will call the open_dialog function, which I know that all identifiers cannot be called by open_dialog, since they must be unique, so how do I access function, passing the value that one of my 25 entries creates an instance of the function.
By the way, my entries are dynamic, so $ ('# open_dialog, open_dialog2, open_dialog3, ...') is not practical.
Thanks for watching my post
jquery tags
Bazza
source share