Page 1 of 1

What is the syntax for setting the detail content page via JavaScript?

Posted: Thu Aug 22, 2013 10:37 pm
by Garrett

As the title suggests, I want to set the detail content page using javascript (I'm pulling the page name from a local storage item).


What is the syntax for setting the detail content page via JavaScript?

Posted: Thu Aug 22, 2013 11:47 pm
by maxkatz

This is what's being created:

code
$('#ipadscreen1_mobilecontainer2 [name="mobilebutton_10"]').die().live({
click: function() {
if (!$(this).attr('disabled')) {
setDetailContent('Screen2.html');

Code: Select all

             } 
         }, 
     }); 

/code