Hi all
I have been using a little bit of simple ajax to update a database with information entered via a html form. All is working well however I now need help to achieve my next step.
In brief, I have a DIV in which I build a navigation tree and each time I click an element of the tree, an iframe on the page loads the script/form associated to the clicked navigation link and the user completes the form and moves on. (I need to use an iframe so this is the way it needs to remain.)
What i need is to be able to refresh or execute my navigation tree after the user clicks a link from the tree but without refreshing the parent window (as this would send my iframe source back to the original script that is loaded when the page loads.
I thought about putting my navigation code into a function in a PHP file and calling that but I am not sure a) if this would work and b) how this would be coded.
Can anyone offer any suggestions please?
Thanks in advance.