PHP-JAVASCRIPT PROBLEM...
Posted: Mon Jul 12, 2010 4:46 pm
I have a question concerning PHP n javascript.
Here is the requirement. When a user click on a short cut of a page on desktop, 2 fields in that shortcut icon(which is a index.php web page) will be automatically filled with data from DB. and the index.php automatically calls another php page index_1.php by using action = " ", method = post; When I try to close the index_1.php (in Firefox) by using CLOSE button (created by me) I can NOT do that. Is there anyway in PHP to close the index_1.php which will automatically close index.php page as well. OR which is the better way 2 achieve this? Javascript does not seem working.
TIA
Here is the requirement. When a user click on a short cut of a page on desktop, 2 fields in that shortcut icon(which is a index.php web page) will be automatically filled with data from DB. and the index.php automatically calls another php page index_1.php by using action = " ", method = post; When I try to close the index_1.php (in Firefox) by using CLOSE button (created by me) I can NOT do that. Is there anyway in PHP to close the index_1.php which will automatically close index.php page as well. OR which is the better way 2 achieve this? Javascript does not seem working.
TIA