Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

dynamic select paragraph id using javascript

<input type="text" value="1" id="thisIsAnId1" />
 <input type="text" value="2" id="thisIsAnId2" />
 <input type="text" value="3" id="thisIsAnId3" />
 <Script>
 $("[id*=thisIsAnId]").each(function() {
 this.style.color = "blue";
 });
 </Script>
Source by salesforce.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #dynamic #select #paragraph #id #javascript
ADD COMMENT
Topic
Name
6+9 =