I am designing a website with ajax and php. My main target is doing everything without full page refresh. I have done everything completed. But in the admin sector Image upload was not possible using ajax.
I solved it partially using IFRAME. It does well in IE. But in FF I am facing problem. Please please suggest me if any one of u have any kind of solution. I shall be ever grateful to you.
But that is not my problem. I want to upload a file/image from <input type='file'> and an image file from client side will be uploaded to the server with ajax but there will be no full page refresh.
You can't do that w/ Ajax. Instead, upload it to a hidden iframe and then use Ajax to ping your main script to check on the status of the upload. The script I use for this is at http://www.seemysites.net/projFolder/uploader/ , but it requires Perl and PHP.