Questions tagged [focusin]
36 questions
0
votes
2 answers
jquery focusin() and preventing bubbling
UPDATE 2:
I slept on it and then whipped up some sample code to try and further figure out the issue.
Here's a sample using the console.log of firebug to show you which object is triggering the focusin event:
http://jsbin.com/axefo3/11
1) click the…

DA.
- 39,848
- 49
- 150
- 213
0
votes
1 answer
jquery focusout different events depending on where you focusin next
I have a list with a text input field $newItemField with the default value = "New Item". By clicking on an input button $addButton you can add the value of the $newItemField to the list.
When .focusin $newItemField I remove the default value to…

Philly_de
- 3
- 2
0
votes
1 answer
focusin event using on not firing
I am attempting to perform some action on the foucsin of the textbox. However, for some reason the event never fires.
$(".ddlAddListinTo li").click(function () {
var urlstring = "../ActionTypes";
$.post(urlstring, function (data) {
…

BumbleBee
- 10,429
- 20
- 78
- 123
0
votes
1 answer
jQuery focusin / focusout. Avoid focusout on submit
I've got this small script to toggle happy face when focusing in the form:
/* Happy face script */
$('#search').on('focusin', function() {
$("#smile").removeClass("fa-meh-o");
…

sdvnksv
- 9,350
- 18
- 56
- 108
0
votes
1 answer
jquery focusout not adding text back in
I have a textarea that has some text in it on page load. When someone clicks on it I'd like for that text to go away. When they click out of it, if they haven't typed anything I'd like the text to come back, but if they have for nothing to happen.…

loriensleafs
- 2,205
- 9
- 37
- 71
0
votes
2 answers
focusout and blur not being caught
I am trying to get a div to appear when a textbox gets focus, and disappear when the textbox looses focus. This is supposed to happen on an iPad in portrait mode (hence checking if the w
/*if the search-bar looses…

Jaclyn Konzelmann
- 41
- 1
- 4