[CSS] & [JQUERY] [selettore] :file

: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>

Contenuti correlati

  • CSS
  • HTML
  • JavaScript
  • jQuery
  • PHP
  • SQL
  • WORDPRESS

Fonti esterne

jquery, selettori css e jquery

Related Articles

0 Comment

Rispondi