Skip to content Skip to sidebar Skip to footer

Finding A Element In Web Page With Multiple Properties

I need to find link on a web page which has class property and/or id property and/or href property. So at design time I would not know what properties that link would have. It coul

Solution 1:

Use a comma (,) to join selectors together in an OR-like fashion:

$("a[href='http://www.google.com'], a.abc, a#xyz")

Post a Comment for "Finding A Element In Web Page With Multiple Properties"