Hi there,
I wonder if someone could give me their opinion on something.
Our viewing of records is done on different pages to the edit/inserting of records. This is mostly just to cut down on page code and split up the relevant logic into different pages.
We decided a while ago the best way to handle this was as follows:
1. Show list of records on View page
2. When a user clicks 'edit', open an iframe with the Edit/Insert page
3. When the Edit/Insert is done, close the iframe
I've got this working very well but the code is horrible because its difficult to call code from one page to another.
Basically, I've got a Javascript function on the View page which will close the iframe. On the Edit/Insert page I have to call this Javascript to close the iframe (since I can find no other way of doing this).
The Edit/Insert page then has a suite of Javascript functions (see below) which check a hiddenvariable on the p ...
Go to the complete details ...