Hi,
suppose to implement the effect as:
($("input.c1") OR $("a#c2")).click(function(){ alert("Same effect"); });
......
<input type="button" value="Save" class="c1" />
......
<a href="#" id="c2"> Add </a>
That means when clicking button c1 or hyperlink c2, the action will be
the same.
How to write the jQuery code in correct syntax to do that?
Jack
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
