javascript - navigating to new page in jquery touch -


i trying navigate new div/page based off of javascript condition. add tag href "#thispage" using jquery touch, it's based off of dropdown menu, want window.location.href = "#thispage" doesn't work same "#home" still has class "current". can remove class "#home" , add "#thispage", messes further navigation jq touch. jq touch has goto function passes in topage, animation, , reverse there way access javascript? i'm stuck.

function getpage() {     var id = document.getelementsbyname('id')[0].value;     if (id == 1)     {         //window.location.href="#thispage";         //$(goto('#thispage','slideleft'));     }     else     {         //window.location.href="#thatpage";         //$(goto('#thatpage','slideleft'));     } } 


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -