Hi
Can anyone help... my problem is that I want to refresh a page after adding a name to a list.
The page is a drop down list of names where the user can add a new name ...... also there is a table of the alphabet where the user can click on any letter and filter the list to only names beginning with that particular letter.....ie click letter G and only names beginning with G can be seen in the drop down list...
....I use 2 methods to populate the list....
one is a javascript file of an array containing the list of names which is generated from MySQL query (used when user clicks a letter ) and the second method is a mysql query to the same table of names in the database to create options list for the dropdown when the page is opened.
MY problem is that if I add a new name to the list..update the database ... and try to recall the page ... the new name appears in the dropdown options list ....BUT when I use a filter letter the name is not there...
I know the javascript file has been updated as I rerun the file creation code ...BUT the updated file is not in the page rerun ...I have to click the refresh button to include the updated version of the javascript file.
HOW can I refresh the page to overcome this.
Can anyone help... my problem is that I want to refresh a page after adding a name to a list.
The page is a drop down list of names where the user can add a new name ...... also there is a table of the alphabet where the user can click on any letter and filter the list to only names beginning with that particular letter.....ie click letter G and only names beginning with G can be seen in the drop down list...
....I use 2 methods to populate the list....
one is a javascript file of an array containing the list of names which is generated from MySQL query (used when user clicks a letter ) and the second method is a mysql query to the same table of names in the database to create options list for the dropdown when the page is opened.
MY problem is that if I add a new name to the list..update the database ... and try to recall the page ... the new name appears in the dropdown options list ....BUT when I use a filter letter the name is not there...
I know the javascript file has been updated as I rerun the file creation code ...BUT the updated file is not in the page rerun ...I have to click the refresh button to include the updated version of the javascript file.
HOW can I refresh the page to overcome this.