:file
(selettore CSS e jQuery) (solo jQuery) riguarda gli elementi HTML <input>
con attributo type
di valore file
.
Sintassi
$(":file")
Esempi
<script> jQuery(document).ready(function($) { $("#test :file").css("background-color", "yellow"); }); </script> <div id="test"> <input type=file /> </div>
0 Comment