i want know how can submit 2 or more form on same button click , in single requests, m uploading image , using enctype="multipart/form-data"?
you don't need ajax that, javascript. make sure submit won't reload page while you're @ it, i.e. set target hidden iframe.
form1.target = "_hiddenframe"; form1.submit(); form2.target = "_hiddenframe"; form2.submit(); if insist on ajax (not bad thing) need collect data these forms, build proper request , submit it.
Comments
Post a Comment