Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).on('focusin', '#testInput', function() {
- console.log('in')
- });
- $(document).on('focusout', '#testInput', function() {
- console.log('out')
- });
- $(document).on('touchstart', '#deleteButton', function() {
- console.log('touchs')
- $('#testInput').val('');
- });
- $(document).on('touchend', '#deleteButton', function() {
- console.log('touchs end')
- $('#testInput').focus();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement