php - posting serialized data with jquery ajax in IE6 not working


when i post some data with jquery ajax command in ie6 and i


php print an empty array..

i can alert this data with alert function in ie by adding this line of code:


how can i post submited data to php?i dont know where the problem is in ie6? this is my code for posting data

$('#submit').live('click', function(e) {
        var post = $(this).attr("name") + "=submit";
        var form_data = $('#create_album_form').serialize() + "&" + post;
            type: "POST",
            url: "create_album.php",
            data: form_data
        }).done(function( data ) {
            if(data == '<div class="success">آلبوم شما با موفقیت ساخته شد</div>'){





.live() is removed in jquery 1.9.x use.on() instead

People are also looking for solutions to the problem: php - Same Origin Policy Error , jQuery


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.