- $('export_table').addEvent('click', function(){
- var query = $('actual_query').innerHTML;
- if(query=='') {
- alert('Nessuna tabella caricata');
- return;
- }
- var ajaxExport = new Ajax('__export.php', {
- data: {'q': query}
- });
- ajaxExport.request();
- });
sorry for my bad english.
I'm writing a code that send some informations to a PHP script. Basically this script made a MYSQL database dump and then export it to XLS format.
If I reach the PHP script directly, the OPEN/SAVE box correctly appear and I can open or save the generated XSL file, but if I start te request trough Mootools Ajax, nothing happens.
that's my code:
thanks


