Hi!
I want to write some text to a textbox (using a greasemonkey script to be exact...) but i cant get the right element (textbox) as it somehow doesnt have an id.
This is source that is relevant for the textbox (from original page)
<input name="WebGridBuilder$ctl04$ctl01" type="text" value="something" maxlength="32767" onkeydown="DefaultButton("SubmitButtonSave", event);" />
i tried to replace $ with _ in WebGridBuilder$ctl04$ctl01 as it was the case for enabling checkboxes (which had id) but it didnt work
so this is what is my current code:
function add(text){
var TheTextBox = document.getElementById("WebGridBuilder$ctl04$ctl01");
TheTextBox.value = TheTextBox.value + rlcmd;
}
so, now i want to know how can i get the right id or whatever i have to get so i can write to that text box
(im just a beginner, so remember that it isnt shame to ask, but not to know :D)
Thanks in advance!