So here is my problem with showmodaldialog. It only occurs in IE.
I basically have 2 php pages. One is produst_list.php, and the other is quantify.php.
product_list.php basically calls the quantify.php page to quantify products that are being ordered in product_list.php page, then calls back the product_list.php page to display the quantity entered in quantify.php
//it basically has this code <td><a href="" onClick="window.showModalDialog('quantify.php?product=<?php echo $product ?>',window,'dialogHeight=200px;dialogWidth=400px;resizable:no;');">ADD</a></td>
Whenever I submit the form or close the popuped window (quantify.php), the main page (product_list.php) that is on the background unintentionally jerks and redirects to the homepage of my site and product_list.php transfers to the popuped window with the values I entered.
These are just parts of the code that I think brought the problem. I have done all the extractions of get and post and it all works in major browsers except in IE. I think the showmodaldialog has the problem.
Any help guys? Or any suggestions? I want to keep the pop up cause I think its pretty cool. hehe