correct no frames are used and i have revised the code in the example too... I am simply using location = theLInk now
I will try document.location though
A simply test version is online at the following address with more information...
all the code is contained in the pages if you want to view source or download the files... the php page is not really a php page it's just for testing and servers no functional purpose but as a reference for the...
well it works in everything but Internet Explorer now :-\ I wasn't testing IE cause it had worked with the old code and figured this was improved code.
So I suppose I will have to do a test for browser and then run the code that works for that browser...
I got it working -
seems moz based javascript doesn't like form to be called form... so forms must have a name.
here is the fixed code i am now using in case anyone cares to know.
function doAlert(theLink) { //v1.0
var f = document.editorform ;
if...
The following code is used to check if changes to a form have been made and pops an alert if the person tries to switch pages before submitting the form.
The way it works is on text change of the text fields I set a hidden field to 1 indicating a change has been made to the form.
When they...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.