Jump to content

[SOLVED] changing test with in a <span>


nezbo

Recommended Posts

Hi all

 

I and sure that this will be an easy one for you all but what i am trying to do is change some test within a <span>.

 

here is my code so far :

<span id="the_label"> << </span>

<script type="javascript">

document.the_label.innerHTML = " >> ";

</script>

 

i will am going to put this in an if statement in there after i have managed to get it working :)

 

 

Link to comment
https://forums.phpfreaks.com/topic/87031-solved-changing-test-with-in-a/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.