CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Manipulate label value without refreshing

Print topic Send  topic

Author Message
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.
View profile  Send private message
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.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.