[Phpmyadmin-devel] Ajaxify Table-> Browse->Multiple rows->Export
Thilanka Kaushalya
lgtkaushalya at gmail.com
Sat Jul 2 20:59:40 CEST 2011
Hi Marc,
I went through my previous modification for ajaxijfy the multiple row ->
export option.
In that I have a post in "*$("#buttonGo.ajax").live('click')*" action and it
post the form to the export.php file. After that the export.php file send
the response header with the correct parameters which are.
Ex : when we select sql as the export type
Content-Disposition:
attachment; filename="jfakjalfa.sql"
Content-Type:
text/x-sql
and the content of the jfakjalfa.sql file is returned correctly as
xmlhttprequest.responseText. But the problem is javascript does not saves
the content to the file. I went through some of the discussions which
explains this kind of scenarios[1] and one of it suggest a jquery plugin as
a solution[2].
Can you explain me how I can cope up with this problem. Thank you.
[1] -
http://stackoverflow.com/questions/2186562/post-to-server-receive-pdf-deliver-to-user-w-jquery
[2] -
http://www.filamentgroup.com/lab/jquery_plugin_for_requesting_ajax_like_file_downloads/
Regards,
Thilanka.
--
L G Thilanka Kaushalya
Computer Science & Engineering,
University of Moratuwa,
Sri Lanka
Connect with me at,
Gmail : lgtkaushalya at gmail.com
Twitter : @thilanka_k
Facebook : Thilanka Kaushalya
Yahoo : lgtkaushalya at yahoo.com
Blog : http://coders-view.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20110703/0b9e7cf2/attachment.html>
More information about the Developers
mailing list