Ajax and firefox

Ajax and firefox

i am building a social site in which i can attach images. I attach an image to a post and before i share it i decide to delete the image and attach a new one. When I share, it doesn't work. Firefox things the ajax request is a post when it should be a put request. I am not creating a new post only updating the image that is attached to the post I already created. Is there a work around for this?