This is a migrated thread and some comments may be shown as answers.

Clicking on the back button gives error "Uncaught Error: Syntax error, unrecognized expression: #:back"

3 Answers 267 Views
Button (Mobile)
This is a migrated thread and some comments may be shown as answers.
Sneha
Top achievements
Rank 1
Sneha asked on 05 Oct 2015, 01:21 PM

We have implemented the back button on our header for a phone gap app.

Clicking on the back button intermittently gives this error "Uncaught Error: Syntax error, unrecognized expression: #:back"

If I type this $("body").data().kendoMobilePane.navigate("#:back"); in the console window it works perfectly, this error comes from jquery.

 

Please help, can't figure this out as it's intermittent.

Here's the back button in the layout

<a data-role="backbutton" class="icon-button"><i class="fa fa-angle-left"></i></a>

Thanks!

3 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 07 Oct 2015, 06:28 AM

Hello Sneha,

 

which Kendo UI version do you use? This sounds like a problem we introduced in Q1 SP, which was fixed shortly afterwards. 

 

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Sneha
Top achievements
Rank 1
answered on 07 Oct 2015, 11:50 AM

Hi Petyo,

The version I'm using is this

Kendo UI v2015.1.429

0
Accepted
Petyo
Telerik team
answered on 09 Oct 2015, 07:30 AM

Hello Sneha,

 

please upgrade your project to a more recent version - your current one is affected by the problem you experience. 

 

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Button (Mobile)
Asked by
Sneha
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Sneha
Top achievements
Rank 1
Share this question
or