Look for click() anywhere in your code.
stbuchok
Practically a Posting Shark
876 posts since May 2011
Reputation Points: 138
Solved Threads: 124
Skill Endorsements: 2
Use "this"
this - refers to the element who clicked it
or you may use the event obj.
e.g. (this)
console.log('element who clicked', this);
e.g. (event)
$('.clear_all_slip').click(function(event) {
console.log('target', event.target);
});
lambing
Junior Poster in Training
76 posts since Feb 2010
Reputation Points: 10
Solved Threads: 15
Skill Endorsements: 0
There is a return as one of the characters, so it will click the default submit button (at least that's my guess). Had something similar happen before with a mag reader.
stbuchok
Practically a Posting Shark
876 posts since May 2011
Reputation Points: 138
Solved Threads: 124
Skill Endorsements: 2