migroo Posted November 29, 2009 Share Posted November 29, 2009 Okay I am trying to set the size of some text via a xml document. document.write('<p class=" '.xmlDoc.getElementsByTagName("size")[0].childNodes[0].nodeValue.' " >'); I have three class set: small, regular, and large. Now I know the xml document is updating properly from my forms and I am just wandering what I am doing wrong with this line of coding?Thank you and any help will be much appreciated. Link to comment Share on other sites More sharing options...
migroo Posted November 29, 2009 Author Share Posted November 29, 2009 Okay I got it never mind.I just needed to use a "," instead of a "." document.write('<p class="',xmlDoc.getElementsByTagName("size")[0].childNodes[0].nodeValue,'">'); Okay thank you all. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.