Hi people
I am calling JavaScript function on partial post-back. Its working fine when i run my site locally but it did not work after i implement it on live program.
I used following line of code to call function:
ScriptManager.RegisterStartupScript(Me, GetType(Uri), "", "privateseller();", True)
Here is JavaScript function where i am disabling validator for field
function privateseller()
{
alert("funtioncalled");
ValidatorEnable(document.getElementById('<%= RequiredFieldValidator2.ClientID %>'), false);
}
One other strange thing instead of calling privateseller() function i just put alert it works on live site like:
ScriptManager.RegisterStartupScript(Me, GetType(Uri), "", "alert();", True)
Kindly tell me why its not working live...
Any ideas
Regards