« Return to Thread: How do I access textField component using javascript in netbeans6.5

How do I access textField component using javascript in netbeans6.5

by freeborn :: Rate this Message:

Reply to Author | View in Thread

I write a simple javascript function as the following

document.getElementById('form1:textField1').value = "hello";

But the textfield shows nothing in netbeans 6.5.
The above code works fine in netbeans 5.5.1.

I already added binding property to both form1 and textfield1.

How to access textfield using javascript in netbeans 6.5 ?

 « Return to Thread: How do I access textField component using javascript in netbeans6.5