hello all! I am looking for help... I need to remove html code from variables. For example I have this.
document.change.n_first.value=document.getElementById('fname').innerHTML;
ass of right now
document.getElementById('fname').innerHTML;
is "<a href=link>please help me</a>
how can i remove the html tags from
document.getElementById('fname').innerHTML;
so that
document.getElementById('fname').innerHTML;
is simply "please help"
thank u guys
document.change.n_first.value=document.getElementById('fname').innerHTML;
ass of right now
document.getElementById('fname').innerHTML;
is "<a href=link>please help me</a>
how can i remove the html tags from
document.getElementById('fname').innerHTML;
so that
document.getElementById('fname').innerHTML;
is simply "please help"
thank u guys