Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to set the id attr to a var in reactjs

<input id={`question${qnum+1}_option1`}/>
 
PREVIOUS NEXT
Tagged: #set #id #attr #var #reactjs
ADD COMMENT
Topic
Name
8+4 =