Problem with $.ajax() and IE !

Problem with $.ajax() and IE !

Hello,

I have a problem with a function using $.ajax() of jQuery and IE.

So I've the below code :

  1. function readMessage(id)
    {
                //Get message content from database
                $.ajax    ({
                            type: "GET",
                            url: "inc/ajax/getmessage.php",
                            data: "messageID="+id,
                            success: function(data)
                                {
                                    //If success
                                    if (data == '1')
                                        {
                                            $("#message_box").css('background','FFFFCC');
                                            $("#message_box").html(data);
                                            $("#message_box").show('blind');   
                                        }
                                    else
                                        {
                                            $("#message_box").css('background','FFCCFF');
                                            $("#message_box").html('Error');
                                            $("#message_box").show('blind');
                                        }
                                }   
                        });
    }























And then I've :

  1. echo '<div id="message_box" style="display:none"></div>';
  2. echo '<a style="text-decoration:none" href="javascript:readMessage(\''.$uinbox['idsms'].'\');">LIRE LE MESSAGE</a>';
When I use Firefox, opera or other browser, my function works but on IE...

Have you an idea ?

Best regards,
Thanks !