Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

pass status of checkbox to a function react js

<input type="checkbox"
       name={field}
       id={field}
       onClick={(event) => this.buildTemplate(objectA, objectB, event.target.checked)}
/>
 
PREVIOUS NEXT
Tagged: #pass #status #checkbox #function #react #js
ADD COMMENT
Topic
Name
8+4 =