B
Brian
Im trying to toggle a series of images with an onLoad event. I have my
code checking the value of a hidden textbox. Depending on the value pf
the text box, it will display one image for one and another image for
the rest of them... When the page loads, i get the same image for all
of them.. here is a snippet of my code.. When the page loads for the
first time, there should be no value, so i should get the second image
for all of them..
if (document.getElementById("testcheck").value = 'Call from Calcagni
Sign') {
document.callsign.src = Image2.src;
}
Please let me know if I am doing something wrong..
thanks in advance
code checking the value of a hidden textbox. Depending on the value pf
the text box, it will display one image for one and another image for
the rest of them... When the page loads, i get the same image for all
of them.. here is a snippet of my code.. When the page loads for the
first time, there should be no value, so i should get the second image
for all of them..
if (document.getElementById("testcheck").value = 'Call from Calcagni
Sign') {
document.callsign.src = Image2.src;
}
Please let me know if I am doing something wrong..
thanks in advance