Hello Experts, onkeyup function of a texbox i am checking that if username already exists or not in my database. everything work fine when i tested it into a new application. But when i am trying to use it into my actual application it doesn't work... my actual page is a content page of a master page... and the code below: <pre lang="Javascript"><script language ="javascript" type = "text/javascript"> function OnSucceeded(result,userContext, methodName) { alert(result); var userarray=result; document.getElementById('lblerror').innerHTML=userarray; // Not working } </script> </pre> document.getElementById('lblerror').innerHTML=userarray;.... Line is not working i am not getting the .innerHTML property while typing... help me to assing value of userarray into label lblerror... Thanks...
document.getElementById('lblerror').innerText=userarray;
document.getElementById('lblerror').textContent=userarray;
innerText
var lblerror = document.getElementById('<%= lblerror.ClientID %>'); lbl.innerText = ' value changed';
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)