Adsense
Popular Posts
- MySQL workbench -"Could not decrypt password cache"
- Code update from PHP 7.4 to PHP 8.1 - PhpSpreadsheet
- Code update from PHP 7.4 to PHP 8.1 - Worksheet/Iterator.php
- Rendering HTML tags inside textarea
- axios handle blob type data
- Setup vi syntax for PHP
- git svn conversion
- Unix Utils and wget in Windows
- increase mysql query speed
- Amazon web serive
Thursday, December 18, 2014
jQuery, combine different functions together
For example I have input button
<input type='button' class='previewButton' value='preview' />
I have general function for input method
$resultTable.find('input').change(function() {
}
But change is not applied to button, as button reacts to click. To call change function for button:
$resultTable.find('input.previewButton').click(function(event) {
$(this).change();
}
Labels:
jQuery
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment