Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

trigger a change is

// Assuming we're listening for e.g. a 'change' event on `element`

// Create a new 'change' event
var event = new Event('change');

// Dispatch it.
element.dispatchEvent(event);
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #trigger #change
ADD COMMENT
Topic
Name
3+2 =