Javascript get text value from nopcommerce:simpletextbox

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
Hi all,

I'm trying to retrieve the value of a nopCommerce:SimpleTextBox at runtime using javascript can anyone help me to do this please?

i have tried the following code with no luck

var source = document.getElementById('<%=MyTextBox.ClientID%>').value;

any ideas?

thanksin advance,

Matt.
13 years ago
var source = document.getElementById('<%=MyTextBox.ClientID%>' + "_txtValue").value;
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.