Hi All,
I need to replace the label 'Pub and Kitchen' with a value from an embedded field. It's in a side by side question. I'm getting really confused when writing the jQuery(....).find(...).replace command and so would be grateful for some points.
Here is what the HTML looks like
Some questions
In jQuery(#... does the # represent an id and a dot . represents a class element?
so given the above HTML code, should I be able to do something like
jQuery("#choice13QID180.LabelWrapper").replace("Pub and Kitchen",".....");
or is it because it's a LabelWrapper or has span in front of the label I'm wanting to change does it mean I have to use a .find(...) command?
Any guidance or other examples would be much appreciated when dealing with span'd things. All the searches I've found so far haven't really helped as it's more to do with the syntax I feel I'm struggling with here.
Thanks
Rod Pestell
Best answer by TomG
View original