html - function is not supported by the following of your targeted browsers -
i have problem ... want thing upload file (picture) ... code :
<html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>upload pic. !</title> <style type="text/css"> div#mybutton { overflow: hidden; position: relative; width: 50px; height: 28px; border: 1px solid green; font-weight: bold; background: red; } div#mybutton:hover { background: green; } input#myfile { height: 30px; cursor: pointer; position: absolute; top: 0px; right: 0px; font-size: 100px; z-index: 2; opacity: 0.0; filter: alpha(opacity=0); -ms-filter: "alpha(opacity=0)"; -khtml-opacity: 0.0; -moz-opacity: 0.0; } </style> </head> <body> <form id="test_form" action="user_finder.php"> <div id="mybutton"> <input type="file" id="myfile" name="upload"/> click me! </div> </form> <script type="text/javascript"> <!-- $(document).ready(function() { $('#myfile').change(function(evt) { $('#test_form').submit(); }); }); </script> </body> </html>
but not work .... know why doesnt work , can see picture : http://im37.gulfup.com/u0spb.png ... looked long solution of problem in ggogle or here in stackoverflow did not find answer... me please ... thank :)
solution: remove internet explorer 5.5 targets. (nobody uses anymore)
go tools > options > miscellaneous > javascript
Comments
Post a Comment