0
votes
1answer
25 views

jQuery binding events strange behavior

I have code written in vanilla JavaScript, which at some point during the runtime trigger custom event, which is handled by jQuery with the following piece of code: // Fired on when snapshot is ...
0
votes
2answers
25 views

SharePoint add javascript event to a editForm.aspx page

I have a Sharepoint list where I want to customize the editForm.aspx page with javascript. The problem is that I can't manage to add any events to the controls in that page. I am able to get a ...
0
votes
1answer
38 views

How run Javascript and jQuery in Firefox on an external webpage?

I want to run my own JavaScript (written using jQuery) in Firefox in an external webpage. How to do that? I know it can be done by jQuerify and ScratchPad. But I have a loop running and new page ...
2
votes
1answer
27 views

Is onpropertychange equivalent to oninput?

Is it reasonably fine to bind an event handler to an element both on the 'input' and 'propertychange' events to target support for IE8 and other browsers? $('.element').on('input propertychange', ...
0
votes
3answers
59 views

jquery $(event.target) returns DOM in console, not HTML

with this code $(document).on('click', '.docs-tag', function(event){ console.log($(event.target)) }) I expect to see [<some html>] but instead get [span.icon-tag docs-tag child_hover ...
2
votes
1answer
56 views

Prevent, then re-trigger a javascript event?

I've got an event handler set on document, listening for submit and change events, delegated to any form elements on the page. The idea is to update the server when an input is altered (since the ...
0
votes
1answer
21 views

Handling several .one on same event and element

I have a custom animation framework that uses css transitions. In order to allow for callbacks i attach $element.one('webkitTransitionEnd transitionend',function(){ $element.css({ ...
0
votes
1answer
28 views

JQuery Keyup not populating results until a space is executed

I have the following jQuery Code placed against a search bar input text box: $(document).ready(function(){ $("#q").keyup(function(event){ event.preventDefault(); ...
0
votes
0answers
24 views

imagemapster conditional altImage

Image map is about condo units floor plan. Everything is functional when the requirements changes. For some area, altImage:'images/unit.png' is used by default. New Requirement: Show only the ...
0
votes
0answers
33 views

How to debug jQuery $.proxy event listeners?

Technology I am using jQuery 1.9.1 and twitter bootstrap 2.3.1 Context I am currently facing a bug in the twitter bootstrap typeahead plugin that prevents you from entering in a "&" character ...
0
votes
0answers
37 views

Modern JavaScript idle timeout

Is there an updated idle timeout library for JavaScript. I want users to be redirected back to the homepage if they are taking too long entering info in a form (with an appropriate dialog box asking ...
3
votes
2answers
62 views

jQuery sortable() is not working after $(document).unbind('mousemove')

The jQuery Sortable() is working well, and if I try to destroy and create the sortable, also working well. but if try to $(document).unbind('mousemove') and recreate sortable, it only works once and ...
1
vote
1answer
55 views

incorrect input value retrieved during bound event

I am performing some filter operation based on input keyed into a text box in the following manner. $("#search").on('change keyup', function () { var search = $.trim($(this).val()); ...
0
votes
2answers
62 views

Reference jQuery event handler in external js file

Simple question. How do I use event handlers in jQuery when I have them in external files? I'm using phonegap to build an app, and for cleanliness sake, want to hold each jQuery function in a ...
0
votes
0answers
23 views

jquery event execution order?

i have a jquery click event which is triggered when i click a button called gosearch. I want to add a field which indicates the loading of the results. But it isnt called. it feels like jquery first ...

1 2 3 4 5 194
15 30 50 per page