0
Reply

Setting value of html textbox through code

ruan

ruan

Nov 4 2004 8:14 AM
1.8k
Hi, I know this is probably a stupid and simple question, but how do I get (or change) the value of an html textbox. With asp text, if I have asp textbox myText I do myText.Text = "whatever". As far as I know, if I have html textbox myBox, I should be able to set the value like this myBox.value = "whatever";or myBox.Value = "whatever"; None of these want to work however. Can anyone help?