0
Answer

Setting value of html textbox through code

ruan

ruan

20y
1.8k
1
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?