I just want the new page to appear in an iframe
on the current page instead of loading a whole new page.
Here's my code:
function salabim(id){
var gotoo;
var objid = document.getElementById("pgMaster");
new Effect.Shake(id);
return false;
gotoo=id+".html";
objid.src=gotoo;
location.href(gotoo);
}
This doesn't work in any browser. What am I doing wrong?