Click here to Skip to main content
15,918,976 members

Comments by namrata.cfa1 (Top 1 by date)

namrata.cfa1 19-Aug-13 14:22pm View    
getelementsbytagname worked. however, there is another problem now. I want the innerHTML to be replaced with something.
For example: the text displayed in the label is "abc<pqr">
When I do labels[i].innerHTML = labels[i].innerHTML.replace(/ get the following output: "abc< span="">