Can I pass an additional parameter to this function?
$("#foold").click( function(e) {
// CODE
};
For example, I need to pass some X value to this function. Can I write something like this:
<a href="javascript:void(X)" id="fooId">Foo</a>
to pass value in this function through e
or some other way?