Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamically setting attribues for web controls

Status
Not open for further replies.

YvonneTsang

Programmer
Sep 28, 2001
37
CA
I am trying to set the values for a text box dynamically. I want to be able to toggle TextMode from multiline to singleLine and do it for other properties. It doesn't seem to want to let me and there is no constructor for these fields. How do I go about doing this?
 
Hmmm...I'm not sure, but it could be because a single line text box = input type=text, and a multi line text box = input type = textarea.

Since in HTML's view, they're two different controls, that might be way it isn't letting you.

I can't test it at home, so its just a thory. Others might have more insight though.

D'Arcy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top