let say I want to do this:
var dashboard = {}; var page = \"index\"; $(\'.check\').click(function(){ $(thi
Well I guess you need this:
var dashBoard = new Array(); if(!dashboard['page123']) { dashBoard.push('page123'); } else { ...do what you want }
Seems you are dealing with XML.