Why don't you let jQuery handle the AJAX as well? The "....." in your
email probably contains some interesting code if you've created the
call yourself:

$.get('someurl.php', data, function(response) {
    $('.update_em').html(response).show();
});

http://docs.jquery.com/Ajax

Ciao,

Hamish

On Apr 11, 12:16 am, "Web Specialist" <[EMAIL PROTECTED]>
wrote:
> Hi all.
>
> I have a response from Ajax call and I'll want to display that in 2
> divs(header and footer in my form). Now I'm using this terrible script:
>
>     <script>
>         function hideResponse()
>         {
>             $('#divResposta').hide();
>             $('#divResposta2').hide();
>         }
>
>         $(document).ready(function() {
>             hideResponse();
>
> ......
>
>                     if(ajaxResponse == 3) success();
>                     $('#divResposta').html(data.saida).show();
>                     $('#divResposta2').html(data.saida).show();
>
> Do you know how to change this code to looks more to jQuery(The write less,
> do more)? ;-)
>
> Cheers

Reply via email to