delickate Posted January 25, 2012 Share Posted January 25, 2012 Hi, I've a simple form having two feilds... name.............. image ............ submit I want that when user submit the form. image upload on server and show thanks to name. but page should not be refresh... i tried different code of ajax, jquery etc... but no luck. i found the code for image only.... or form with all fields except file. but i want to combine them. can anyone help me please??? Quote Link to comment Share on other sites More sharing options...
dzelenika Posted January 25, 2012 Share Posted January 25, 2012 could you post your code Quote Link to comment Share on other sites More sharing options...
delickate Posted January 25, 2012 Author Share Posted January 25, 2012 hi, Thanks for the reply.. i need a code too man........................ Thanks again. Quote Link to comment Share on other sites More sharing options...
spiderwell Posted January 25, 2012 Share Posted January 25, 2012 ajax will not upload images via the xml object, post to a hidden iframe to achieve this Quote Link to comment Share on other sites More sharing options...
AyKay47 Posted January 25, 2012 Share Posted January 25, 2012 a combination of ajax and PHP's data stream wrapper can also be used for this. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.