I have the following in my Jquery:
$("#lnkpwd").click(function () {
I have 2 hyperlinks with the following ids: lnkpwd1 and lnkpwd2
How do I make sure that both of these go to the click.
I know ^ needs to be used but not sure where it would get placed.
Description
You should use jQuery’s
Multiple Selector (“selector1, selector2, selectorN”)Check out the sample and jSFiddle Demonstration.
Sample
Html
jQuery
More Information