Ajax provide alternative of document.getElementById()






3.08/5 (6 votes)
In Javascript if you want to access any control, the syntax would be like thisdocument.getElementById('');The alternative of this syntax while using Ajax is$get(''); Enjoy CodingMehul Thakkar
In Javascript if you want to access any control, the syntax would be like this
document.getElementById('<%= Control.ClientID %>');The alternative of this syntax while using Ajax is
$get('<%= Control.ClientID %>');Enjoy Coding Mehul Thakkar