NYCPHP Meetup

[nycphp-talk] how to open choose file dialbox

birgunj birgunj birgunjp0071 at yahoo.com
Wed Jan 28 07:21:52 EST 2009


Dear All,

i am trying to open choose file dialog box when page upload.below is my code which works fine in internet explorer but it did not work in firefox.

<HTML>
<Head>

</Head>
<Body onLoad="javascript:document.getElementById('inputfile').click();">

<input type="file"  id="inputfile"/>

</Body>
</HTML>

please give me any help or idea.

thanks  



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20090128/9b5289de/attachment.html>


More information about the talk mailing list