Hi all,
I have this small function that is giving me a headache. When called it is supposed to pull a .php page with the same name as the button that has been clicked. The name is passed through the pageName argument. I cannot figure out the right way to set the quotes on this. the way i have it set now seems like it should work. This always drives me nuts. Any help is much appreciated
function populateIframe(pageName){
trace("loading iframe " + pageName);
getURL("javascript:loadintoIframe('main', \""+pageName+"\".php");
};