by soddengecko on Sat Oct 04, 2008 11:24 pm
Hi Moe
The data in the div will be dynamically generated from a database with php and wrapped in JS to make an accordion effect (this is already complete). I have 4 such divs on the main page. One div contains links, another has todo's and so on. My aim is to have these divs refresh either periodically or when the form data has been submitted so that new contents show up immediately without having to refresh the entire page.
i tried an onsubmit script that updated the container div with my data but the accordion menu was fully expanded as if the JS for it had not been loaded into the page at all. a full site refresh and it is back to normal. I am not sure why this is happening.
I don't have an online example to show you, but I can provide you with the files and a copy of the mysql db for you to take a look at if you are interested
thanks for your patience on this,
Mark