
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Sending Data from One Page to Another in jQuery Mobile
To pass values, let us say our <a> is the following, with page new.html,
<a href="new.html?structure='123'">Structure</a>
The JS will be:
$( document ).on( "pageinit", "#new", function( event ) { var myParam = $(this).data("url").split("?")[1]; myParam = parameters.replace("structure=",""); alert(myParam); });
Advertisements