Auto submitting file

Auto submitting file

I've changed my 'file upload' input field into a hyperlink, which looks much better. 
I also added an auto submit, so that when the file is picked it gets automaticly submitted (normally you first select the file, and then have to hit the submit button).

Everything works perfectly, except for the auto submit, which doesn't seem to function in Internet Explorer.
How can I make this coding work in every browser?

My coding:
  1. <style type="text/css">
  2. #file {
  3.     display:none;
  4. }
  5. .new_Btn {
  6. color:blue;
  7. cursor:pointer;
  8. }
  9. </style>

  10. <script type="text/javascript" 

  11.                      src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
  12. <script type="text/javascript"> 


  13. $(function () {

  14. $('.new_Btn').bind("click" , function () {
  15.         $('#file').click();
  16.     });

  17. $('#file').change(function() {
  18.   $('#target').submit();
  19. });

  20. $('.new_Btn').change(function() {
  21.   $('#target').submit();
  22. });

  23. });  
  24. </script>

  25. <html>
  26. <body>

  27. <form id='target' action='http://www.test.com' method='post' enctype='multipart/form-data'>
  28. <div class='new_Btn'>Select file</div><br>
  29. <input type='file' name='file' id='file'><br>
  30. </form>

  31. </body>
  32. </html>