Use window.location = "index.php?whichPage=slider&whichAct=0&subPage=mixnmingle"; - Richard
On Thu, Aug 6, 2009 at 2:35 PM, paul.mac <paul.mcma...@uuconstruct.co.uk>wrote: > > I want to add a click function to an image to laod a new page > > Tried this but it doesn't work > > $("#i4").click(function(){ > $(document).attr("href","index.php? > whichPage=slider&whichAct=0&subPage=mixnmingle"); > }); > > The whichAct variable in the query string gets changed, which is why > it isn't just a static <a hef="...">...</a> > > Any suggestions? > > Thanks > > Paul >