Getting error when navigating to another page

Getting error when navigating to another page

BY 21 Nov 2013 Web Application Development

Hi,

I’m developing web app. I have a collapsible listview with multiple items. When i click on the <li> its not navigate to another page(#chapter) and i’m using the ajax function to load the corresponding data on “#chapter”. Getting error as 

Error: Syntax error, unrecognized expression: #chapter?book=Lev&num=1

getting this error in library jquery.js

code:

<li data-id="test-id"><a href="#chapter?book='+ x.substring(1) +'&num=1">'+ books[x].bname +'</a></li>

 

Thanks in Advance.

Written by