Click here to Skip to main content
16,011,757 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: import html data from file into table? Pin
Roger Wright7-Jul-03 7:10
professionalRoger Wright7-Jul-03 7:10 
GeneralRe: import html data from file into table? Pin
Anonymous7-Jul-03 7:28
Anonymous7-Jul-03 7:28 
GeneralRe: import html data from file into table? Pin
Roger Wright7-Jul-03 7:45
professionalRoger Wright7-Jul-03 7:45 
AnswerRe: import html data from file into table? Pin
Not Active7-Jul-03 8:55
mentorNot Active7-Jul-03 8:55 
AnswerRe: import html data from file into table? Pin
theJazzyBrain7-Jul-03 9:16
theJazzyBrain7-Jul-03 9:16 
QuestionHow to set focus on input field? Pin
Crusaders6-Jul-03 21:27
Crusaders6-Jul-03 21:27 
AnswerRe: How to set focus on input field? Pin
Paul Watson6-Jul-03 23:43
sitebuilderPaul Watson6-Jul-03 23:43 
GeneralJavascript: window.open() problems Pin
lnong3-Jul-03 10:54
lnong3-Jul-03 10:54 
I have an HTML frameset page with 2 frames. In the left frame, I have a menu containing several buttons. For each button I have an "Onclick" event that calls the Javascript window.open() function. Basically, this function just loads the results of a Perl script (*.pl) into the right frame.

For example, the button to add a customer calls:
window.open("AddCustomerToDatabase.pl", "right frame");

I also have a "show all customers" button that loads another Perl script which will retrieve all customers from a database and display them in nice table on the screen. This script also loads into the right frame, replacing the existing content.

The problem I have is that I notice that the window.open() function does not load a FRESH page. (Evidently, I dont see the IE status/progress bar at the bottom showing any activity).

For example, first I click "show all customers" and I see a table with 4 customers. Then I click "add customer" which loads a form (into the same right frame) in which I fill out the new customer information, and then submit it. Then when I click "show all customers" again, I still see the same table with only 4 customers, and not 5. Only when I click IE's "refresh" button will the updated table be displayed. I am using MySQL database, and I am positive that the submitted customer info is updated in the database immediately when i clicked submit. (I have checked that).

I find it weird that window.open() doesnt load a fresh page each time. It only loads a fresh page during that page's first load. Can someone suggest me a way to force a fresh load each time?

I thought about using window.location = http://blahblahblah.pl, but then there is no way to specify the target frame. Please help. Thanks.
GeneralRe: javascript window.open() problems Pin
Roger Wright5-Jul-03 12:47
professionalRoger Wright5-Jul-03 12:47 
GeneralRe: javascript window.open() problems Pin
basementman7-Jul-03 4:41
basementman7-Jul-03 4:41 
GeneralRe: javascript window.open() problems Pin
lnong9-Jul-03 13:34
lnong9-Jul-03 13:34 
GeneralEXPLORER TOOLBAR ICONS Pin
Jonavis3-Jul-03 7:45
Jonavis3-Jul-03 7:45 
GeneralCrystal Report Events Pin
Nick Seng2-Jul-03 23:31
Nick Seng2-Jul-03 23:31 
GeneralInsert data but cannot get data from code.....Please help ! Pin
Thuy Dinh2-Jul-03 21:55
Thuy Dinh2-Jul-03 21:55 
GeneralRe: Insert data but cannot get data from code.....Please help ! Pin
theJazzyBrain3-Jul-03 2:09
theJazzyBrain3-Jul-03 2:09 
GeneralASP.NET Provider Pin
Nino_12-Jul-03 18:07
Nino_12-Jul-03 18:07 
QuestionACCESSING IIS installed on another machine? Pin
Asim N.1-Jul-03 19:43
Asim N.1-Jul-03 19:43 
AnswerRe: ACCESSING IIS installed on another machine? Pin
Nino_11-Jul-03 20:06
Nino_11-Jul-03 20:06 
GeneralPermission Denied Error Pin
MrNed1-Jul-03 19:18
MrNed1-Jul-03 19:18 
GeneralRe: Permission Denied Error Pin
Nino_11-Jul-03 19:28
Nino_11-Jul-03 19:28 
GeneralRe: Permission Denied Error Pin
MrNed1-Jul-03 20:27
MrNed1-Jul-03 20:27 
GeneralRe: Permission Denied Error Pin
Nino_11-Jul-03 20:39
Nino_11-Jul-03 20:39 
GeneralRe: Permission Denied Error Pin
MrNed1-Jul-03 20:51
MrNed1-Jul-03 20:51 
GeneralYear View Pin
jerry0davis1-Jul-03 5:48
jerry0davis1-Jul-03 5:48 
GeneralRe: Year View Pin
basementman1-Jul-03 6:16
basementman1-Jul-03 6:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.