upload file by ajax, javascript,php -
please want upload file ajax , javascript,php without refresh page : idea send file ajax xmlhttp.send(file); , file in script php, don't know how uing function record
function record(elem){ }
<td style='font-size:11px;'><span id='confirm1 $id'>confirm : <input id='confirm1' onchange='record(this.id);' style='font-size:9px; height:27px; width:134px;' type='file' name='confirm1' /></td>
you're looking formdata api:
an easier method may use iframe.
Comments
Post a Comment