K
kimberly.walker
I have a piece of code that calls the clientside it works ok when no
values are passed ie window.alert ('this is a test'). But I have a
value from a textbox example:
function openemail()
{
var email = document.getElementbyID("txtEmailAddress").value;
window.alert(email);
}
when I call this function
string script = "<script language='javascript'>openemail();</script>";
Page.RegisterClientScriptBlock("email", script);
Its gives me an error saying missing object.
Any help will be greatly appreciated
values are passed ie window.alert ('this is a test'). But I have a
value from a textbox example:
function openemail()
{
var email = document.getElementbyID("txtEmailAddress").value;
window.alert(email);
}
when I call this function
string script = "<script language='javascript'>openemail();</script>";
Page.RegisterClientScriptBlock("email", script);
Its gives me an error saying missing object.
Any help will be greatly appreciated