smalloy
Posts: 107
|
| Posted: 08/12/2005, 1:03 PM |
|
I'm trying to make a form easier for the user to navigate. The user chooses an option from a list box, based on the choice I'd like to change the value of the label without refreshing the page.
I've tried:
<LABEL ID="LABEL1" Location Name</LABEL>
Then in the JavaScript Function:
LABEL1.innerText="Vehicle name";
The code for the form is ASP, I realize its probably a JavaScript question but thought I'd ask anyway.
Thanks
_________________
Anything can be done, just give me time and money. |
 |
 |
smalloy
Posts: 107
|
| Posted: 08/12/2005, 2:11 PM |
|
Well, soved it myself, sort of.
Made it a textbox rather than a label, set the CSS Class to match the background and Style to BORDER = none. Also, set it to readOnly and then you can change it with JavaScript and it acts just like a label!
_________________
Anything can be done, just give me time and money. |
 |
 |
|