Sublime Text
<!DOCTYPE html> <html> <head> <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.0.min.js"></script> <script> $(document).ready(function(){ $("input[name='music']:file").wrap("<span style='border:5px solid red'>"); }); </script> </head> <body> <input type="file" name="img"> <hr> <input type="file" name="music"> </body> </html>
<!DOCTYPE html> <html> <head> <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.0.min.js"></script> <script> $(document).ready(function(){ $("input[name='music']:file").wrap("<span style='border:5px solid red'>"); }); </script> </head> <body> <input type="file" name="img"> <hr> <input type="file" name="music"> </body> </html>