fletchsod
Programmer
- Dec 16, 2002
- 181
Let's say I have those ids...
<span id="spanHtmlForm_rbSoftware">...</span>
<span id="spanHtmlForm_txtCompany">...</span>
How would I find those two "span" ids with a filter/wildcard in JQuery? I tried the "*" and it doesn't do the trick, so I welcome suggestion or help.
$('#spanHtmlForm_*').css({ "background-color":"#ff0000" })
Thanks...
<span id="spanHtmlForm_rbSoftware">...</span>
<span id="spanHtmlForm_txtCompany">...</span>
How would I find those two "span" ids with a filter/wildcard in JQuery? I tried the "*" and it doesn't do the trick, so I welcome suggestion or help.
$('#spanHtmlForm_*').css({ "background-color":"#ff0000" })
Thanks...