views:

11

answers:

0

my index.html page open a overlay facebox page with a contact.php page form.... it contain this code for display error messages in a div.

<script type="text/javascript">

$(document).ready(function() { $('#submitform').ajaxForm({ target: '#error', success: function() { $('#error').fadeIn('slow'); } }); });

</script>

then there 's the form:

         <form id="submitform" action=\"submitemail.php" method="post">

and at bottom of the page:

<div id="error"></div>

that contain eventually error messages...

the submitemail.php process the request and return messages into "error" div.... in FF and IE all ok.... in safari it open a full page ( switch my index.html).... how can i fix this?