Topic: File Download after doing some xajax

Hi,

User is clicking on Link, Link is calling through xajax an PHP function to modify an div and after this through form with method GET I want to download an file with header("Content-type:.....

$result .= "<a href='?menue=" . 'dok_dl' . "&dlid=" . $data_docpdf['id_docpdf'] . "' onclick=\"xajax_reload_doclist();\">" . $data_docpdf['astname'] . " </a>";


Konquerer changes the div and then download the file.
Firefox only download the file but no change on div

Is it necessary to close an onclick with return false if using xajax or is there an better way first change div and then download file..

best regards
Thomas

Last edited by tm635345 (2010-02-09 2:00:18 PM)