I have my index.php page that has a popup called getinfo.php. It is small 630 x 330 popup that has two listboxes where I select the course and authors.
It then sends me to viewquestions.php where I can view all the questions belonging to that course created by those authors.
The problem is viewquestions.php is displayed in the same window as was getinfo.php ( 630x330 )
I would like viewquestion displayed in its own separate window but much larger like 800 x 600.
The popup code expects the following:
function popUp(URL,width,height,resize, statusbar)
My getinfo.php popup page has the following but it is not working.
."<input type=\"submit\" onClick=\"javascript:popUp('".append_sid('viewquestions.php')."', 800,600,1,0)\" value=\"Submit!\">"
Any help will be greatly appreciated.
I have tried to use onClick=window.location but that didn't work either.