1
vote
2answers
39 views

preventDefault() not working in a input type text

This is my code: $('#Login').keydown(function(e){ if(e.which == 32){ alert("enter"); this.preventDefault(); } }); This ...
0
votes
1answer
20 views

jQuery event listener for the insertion of an element specific class

I'm trying to dynamically add some CSS classes to some elements that I don't have control over the creation of. I know that the divs I'm looking for will be added like this: mydiv.appendChild(resdiv). ...
-2
votes
3answers
27 views

Jquery focus/submit acting weird in Chrome-Browser

Actually ( on the website ) i have a form which is in a Box. So not to exhaust the limited place in that box, the contact-form pops up to its full size, only when the inputs (textarea, select, too) ...
0
votes
1answer
31 views

How should i set/organize click events on my site?

I have a site with one main index.html page (with <html><head>...) and rest pages like gallery.html, contacts.html, but only with <div> containers and without ...
2
votes
5answers
57 views

Is it possible to bind multiple functions to multiple delegation targets in one place?

As it is possible to define multiple event handlers in one single function in jQuery like this: $(document).on({ 'event1': function() { //do stuff on event1 }, 'event2': ...
0
votes
3answers
32 views

Run function once users mouse leaves text field

Ok, I have a text field which users enter data into, once their mouse leaves that text field I want to run a function. I am aware of the onBlur event, but this doesn't run unless the user clicks ...
14
votes
3answers
13k views

Create a jQuery special event for content changed

I'm trying to create a jQuery special event that triggers when the content that is bound, changes. My method is checking the content with a setInterval and check if the content has changed from last ...
0
votes
1answer
36 views

What is the best approach to solve document.ready timing issues

I have some code in document.ready that fires, however it is firing too fast. It depends on some JavaScript creation or something first otherwise I get an ill effect. WhatI have done is put the code ...
0
votes
1answer
32 views

How to iterate through an unordered list and then select the parent div of the list item

I have a list of radiobox select questions that I need to validate. <ul> <li> <div class="question">Question1 <ul id="choice11"> ...
0
votes
2answers
24 views

Binded event handlers no longer work after AJAX manipulation

I am binding some jQuery event handlers to an element in the page which work fine initially, however if the user selects a radio button on the page, that element gets removed; they can bring it back ...
0
votes
0answers
32 views

Problems with mouseleave/focusout event handlers and user selecting from autocomplete list

Ok, I have binded the jQuery event handler mouseover to an element with the below code: jQuery(document).ready(function(){ jQuery('#buyout_field').mouseleave(function() { alert('Hi!'); ...
0
votes
3answers
30 views

Catching events for mousewheel when Firefox is autoscrolling

I know there are many questions asking how to prevent the autoscrolling mode that Firefox activates when a page is bigger than the viewport and you press the middle mouse button. But what I actually ...
0
votes
3answers
21 views

Having trouble getting binded events to fire

I have included the below code in the header of my page: <script type="text/javascript"> jQuery('#start_price').mouseleave(function() { alert('Hi!'); }); </script> I ...
-1
votes
2answers
63 views

How can I use a jQuery event without binding it to the element?

I need to use thew jQuery event mouseleave and notice you can bind it to an element such as doing the code.. $('#outer').mouseleave(function() { $('#log').append('<div>Handler for ...
-2
votes
0answers
19 views

Tree Structure with checkboxes with pure javascript [on hold]

I need to develop one tree with checkboxes. I know there are lot of plugins available. But i don't want to use any plugins. I just want to use javascript and some helpers in JQuery. Please help me in ...

1 2 3 4 5 201
15 30 50 per page