[jQuery] Re: jqModal to get info from database fails

2008-01-11 Thread pere roca
bingo! and I need no Ajax in the code... just the iframe in a div. Thanks a lot. You can check again in: http://edit3.csic.es/fitxers/xmls/jqModals2.html Now I want from the main page execute some code when user clicks on the "Submit" button of the iframe. I can access to the iframe div us

[jQuery] Re: jqModal to get info from database fails

2008-01-09 Thread Alexandre Plennevaux
now actually i think i got it :) loading the form page in ajax will not execute the javascript residing in that loaded form page, you have to call it as a callback when the ajax call is finished (so when the modified document is ready). an easy solution would be to load that form page via jqmo

[jQuery] Re: jqModal to get info from database fails

2008-01-09 Thread Alexandre Plennevaux
oups, sorry, i realize they are already all in the same folder. my bad...

[jQuery] Re: jqModal to get info from database fails

2008-01-09 Thread Alexandre Plennevaux
i wonder if the problem is not due to your directory structure: your select_forms.html page resides in a directory, so it loads formularis_xml.php in the same folder. but if you load that select_form page via ajax, the root becomes the loading page, so not the xmls folder. try putting everyt