I have the follow code:
onclick=" <?php echo 'postwith(\''.$_SERVER['PHP_SELF'].'\',{export:\'export\',date:\''.$_POST['date'].'\'})'; ?>"
while postwith is a function.
in ie i have an error:
Expected identifier, string or number
in firefox it's ok and the link is:
postwith('/page/page.php',{export:'export',date:'Yesterday'})
so where is my mistake?
thank you!