Re: how to open choose file dialbox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



you should put the form name also: document.formname.getElement...

regards,
swanand reddy

--- On Wed, 1/28/09, birgunj birgunj <birgunjp0071@xxxxxxxxx> wrote:
From: birgunj birgunj <birgunjp0071@xxxxxxxxx>
Subject:  how to open choose file dialbox
To: talk@xxxxxxxxxxxxxxx, php-list@xxxxxxxxxxxxxxx
Cc: phpexperts@xxxxxxxxxxxxxxx
Date: Wednesday, January 28, 2009, 4:21 AM










    
            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  



[Non-text portions of this message have been removed]




      

    
    
	
	 
	
	








	


	
	


      

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux