Menu
Hi Guys
I have some HTML :
[code=html]<pre>
Some stuff some more stuff some more stuff
</pre>
What I need to do is to access the contents of this <pre> and delete any tab spacing from the END of the line.
Any pointers on how I may be able to access the contents with javascript? document.getElementsByTagName(“pre”).value doesnt seem to be doing the trick. I cannot give the pre an id, as the html is auto generated and is out of my control.
Thanks in advance! ?