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??? Link to comment https://forums.phpfreaks.com/topic/255726-php-ajax-and-jquery/ Share on other sites More sharing options...
dzelenika Posted January 25, 2012 Share Posted January 25, 2012 could you post your code Link to comment https://forums.phpfreaks.com/topic/255726-php-ajax-and-jquery/#findComment-1310935 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. Link to comment https://forums.phpfreaks.com/topic/255726-php-ajax-and-jquery/#findComment-1310938 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 Link to comment https://forums.phpfreaks.com/topic/255726-php-ajax-and-jquery/#findComment-1311129 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. Link to comment https://forums.phpfreaks.com/topic/255726-php-ajax-and-jquery/#findComment-1311142 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.