var ajaxURL = "ajax/Login.aspx?txtEmail=" + $('#txtInitialEmail').val()+ "&txtPassword=" + $('#txtPassword').val()
views:
45answers:
1
A:
Check
$('#txtInitialEmail').length > 0
and
$('#txtPassword').length > 0
If not greater than 0 then there exists no such element. If you are placing these elements inside a naming container and then giving them the attribute runat="server"
then you will have to take their id using Control.ClientID, like
$("#<%= txtInitialEmail.ClientID%>")
and
$("#<%= txtPassword.ClientID%>")
rahul
2010-04-22 06:32:44