- From: chun zhang <mrchunzhang@gmail.com>
- Date: Wed, 4 Dec 2013 21:26:48 +0800
- To: www-talk@w3.org
Received on Wednesday, 4 December 2013 14:05:38 UTC
<!DOCTYPE html> <html> <head> <script src=" http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> </script> <script> $(document).ready(function(){ $("p").click(function(){ $("#test").click(); }); }); </script> </head> <body> <p>If you click on me, I will disappear.</p> <p>Click me away!</p> <p>Click me too!</p> <input id="test" type="file" style="display:none;"> </body> </html> Run this code on android browser, click p will never show file dialog. But if I remove style="display:none;", let the input show, it works. Why?
Received on Wednesday, 4 December 2013 14:05:38 UTC