index.html#Titles loads web sql list view from same page,... but from external page not load
Is any way get data- attribute value of a link when this go to external page, in this external page?
I load data in a page (not main) index.html ...from web sql db, but this only works when go from index.html to index.html#Titles from same page,... but from external page not load? how apply two functions one go from same page and one go from external page to this
index.html#Titles?
in same page using but fails from external page, how distiguish???
- $('a', '.subList').live('click', function(e) {
- rec.data_polis = $(this).attr('data-polis');
- localStorage.setItem("data_polis", rec.data_polis);
- if (rec.data_polis != -5)
- getTitles();
- });
- $('.subListInDiv a').live('click', function(e) {
- rec.data_polis = $(this).attr('data-polis');
- localStorage.setItem("data_polis",rec.data_polis);
- getTitles();
-
- });
- $('a.subListInDiv2').live('click', function(e) {
- rec.data_polis = $(this).attr('data-polis');
- getTitles();
- });
-
-