I have probably made some error in this line of code:
$('#mbContentText [name^="mbItem"]').css({color: "#006699", fontWeight: "normal"});
The thing I’m trying to do is to select all divs with an id that contains “mbItem” that are inside a div with an id “mbContentText”. Help is preciated!
EDIT:
I discovered that’s the A tag that I want to affect only, and I wonder if can select only the A tags inside the div I’m selecting?
your id name is
'mbItem'and in your script you have written name inplace of id..so do the fallowingto do same for A tags give class to those A, for example
anchorand then do fallowing-(it will work if your A tags or insidembItemdiv)