Hi,
I am trying to implement add/remove items into Combobox functionality using a client-side API same as sample provided in /ComboBox/Examples/Programming/AddRemoveDisableItemsClientSide.
But my controls are placed in a FormView and it seems that I have problem to get value of a textbox within javascript function. The line from sample:
I am trying to implement add/remove items into Combobox functionality using a client-side API same as sample provided in /ComboBox/Examples/Programming/AddRemoveDisableItemsClientSide.
But my controls are placed in a FormView and it seems that I have problem to get value of a textbox within javascript function. The line from sample:
function
AddNewItem(){
...
var intextput = document.getElementById("TextBox1").value;
...
}
is not working. How can I get value of a textbox placed in a FormView control using javascript?