Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

referencing multiple elements into one jquery

bad
$("#clientId").fadeIn();
$("#username").fadeIn();
$('#password').fadeIn();

good
$("#clientId, #username, #password").fadeIn();
 
PREVIOUS NEXT
Tagged: #referencing #multiple #elements #jquery
ADD COMMENT
Topic
Name
8+4 =