Click here to Skip to main content
15,886,689 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
I m getting this error in jquery :

C#
Error: Syntax error, unrecognized expression: .


my code is :
C#
tabPage.find("#ddlWebsites").change(function () {

       if ($('#ddlWebsites').val() == '7') {
           datagrid.LoadGridTemplate(tabPage);
       }
       else {
           alert("Lead Management is allowed only in city collection");
       }
   });
Posted
Updated 19-Jun-14 21:11pm
v2
Comments
Sampath Lokuge 20-Jun-14 3:11am    
Where it comes (exact line of the code)?
Naina2 20-Jun-14 3:16am    
after datagrid line
Sampath Lokuge 20-Jun-14 4:21am    
Can you put the code snippet for the LoadGridTemplate() method ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900