I have a textbox with Client ID JavaScript variable name set to 'UserMnemonicId'
On form load i call javasrcipt function and display alert .
NWF$(document).ready(function(){
alert('test function');
alert(NWF$('#UserMnemonicId').val());
});
I get both the alerts but for the second alert it displays 'undefined'
Don't know why the textbox value is displayed as 'undefned'
Is there anything that i am doing wrong or missing?