Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

event

<button onClick={() => deleteRow(id)}>Delete Row</button>
// if you want the event also to be passed
<button onClick={(e) => deleteRow(id, e)}>Delete Row</button>
Source by albseb511.github.io #
 
PREVIOUS NEXT
Tagged: #event
ADD COMMENT
Topic
Name
1+7 =