One
Attach a handler to an event for the elements. The handler is executed at most once.
<div>
<input type="button" value="Click me" id="btnOneEvent">
<p id="logForMouseUp" style="color:red"></p>
<?php
echo
YsJQuery::newInstance()
->execute(
YsJQuery::one()
->in('#btnOneEvent')
->eventType(YsJQueryConstant::CLICK_EVENT)
->handler("alert('Only one click')")
)
?>
</div>

Support requests, bug reports, and off-topic comments will be deleted without warning.