Category "jquery-events"

How to wait to append the data until after the form data has been added?

When I click the #screenrId, it submits the default data without having time to add the new data the user inputs. How to wait to append the data until after the

JavaScript Form Calculation with Radio Buttons & Textboxes

The jQuery library is not importing correctly and the form is not displaying the answer in the BAC field when clicking on the button. The answer should be rela

Using jQuery one() function as a hack to prevent multiple click events from firing

I've having this weird issue where toggling the visibility of a button seems to influence how many times a click event gets called on that button. If I use: $('

Cannot trigger submit from JavaScript

I am trying to create a popup for a search box and submit the keyword with a form. I browse similar questions on the internet but the only solution I applied is

JavaScript runs in Firefox, but not IE or Chrome?

I have the following JavaScript in my site : $(function() { var $cells = $("td"); $("#search").keyup(function() { var val = $.trim(this.value)

IE issues with 'focus' event

I have an app that must run in IE 7/8(compat). (I know, right?) The app includes the following functionality.... If I click on a dropdown list, the list checks

Form event function triggers jquery function

I have a textbox form that when focused triggers a function, but the problem is this function was inside jQuery function and its not working, see my codes... &l

Nested Tables, how to stop jquery event firing IE9

Suppose I have a nested table like the following: <table id="search"> <tbody> <tr><td>a</td></tr> <tr><td&g

event.ctrlKey is not functioning in IE

$('a').click(function(event){ if( event.ctrlKey || event.target.href){ return false; } }); Working fine in Firefox and Chrome, but not in IE. Plea

IE9 - Not able to disable ESC key to stop closing lightbox

I have used below code - Its not working on IE9 but works fine on Firefox and Chrome $(document).ready(function(){ if (document.addEventListener) { // al

Selecting div's href's and submitting form?

I have this code in my html: <div id="div1"> <a href="a"> Apple </a> <a href="b"> Orange </a> <a href="c"> Lemon </a>

How to catch a "load" event on STYLE tag with IE?

Let's say I have the following code: var style = $("<style/>") .html("body{background:grey; color:white;} /*and more CSS style*/") .on("load", fun

Change and blur events of input field are not fired

At least IE9 and IE10 have strange behaviour. I have four input fields and subscribe on their change events. I have logic which disables first input field insid

Internet Explorer leaks click event after adding an overlay in a jQuery mousedown handler

In a mousedown event-handler of a div another new div is created and appended to the body. This new div has position:fixed (can also be position:absolute) and h

Problem getting jQuery script to work as expected

I am new to jQuery. I want a simple list. I just want to show and hide the additional details. <ul> <li><div onclick="show()"><img src="p

Best way to capture all key events for a web application?

I'm a little distraught at the current state of key capturing for web applications. It works great as long as you know your user is going to be typing in a spec

Use jQuery to find an event object

jQuery has wonderful selectors for DOM elements, but can you 'select' an event object. That is, if I use inline JavaScript on the onclick attribute of an elemen

JQuery Get String From <img class="www.example.com">

This should be a tweak for the jQuery based image gallery "Galleria". You can click on a thumbnail div called images and it brings you on the site based on the

Hide / Unhide Cloned form elements in jQuery. How?

I can find numerous examples of Hiding and unhiding form elements in jQuery. I can also find numerous examples of cloning form elements in jQuery. But is ther

'data' is null or not an object IE8

I am transmitting message from an iframe to its parent page using postMessage. This is my code. In iframe: $(".history_date").click(function(event) { window.t