I have the following:
<SPAN ID="myLabel">whatever</SPAN>
I then assign a value to that using JavaScript:
var f = document.thisForm;
document.getElementById("myLabel"
.innerHTML = f.EnqCode.options[f.EnqCode.selectedIndex].text;
How can I then access the value of the <SPAN> using vbscript? Just:
<% response.write(myLabel)%>
Doesn't do anything. I think the problem is because Javascript has given it the value but is there a way round it?
"Life is like a Ferrari, it goes to fast.
But that's ok, because you can't afford it anyway" - Jim Davis (Garfield)
<SPAN ID="myLabel">whatever</SPAN>
I then assign a value to that using JavaScript:
var f = document.thisForm;
document.getElementById("myLabel"
How can I then access the value of the <SPAN> using vbscript? Just:
<% response.write(myLabel)%>
Doesn't do anything. I think the problem is because Javascript has given it the value but is there a way round it?
"Life is like a Ferrari, it goes to fast.
But that's ok, because you can't afford it anyway" - Jim Davis (Garfield)