Jump to content

how do i automatically run this function?


toolman

Recommended Posts

Hi,

 

I have the following function, but told I need to run it automatically. How would I do this?

 

<script>
function replaceText() {
   var list = document.getElementsByTagName("UL")[22];
   var list2 = list.getElementsByTagName("LI")[29];
   list2.getElementsByTagName("LABEL")[0].innerHTML = "Car";
}
</script>

 

Thanks!

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.