Creating and handling JavaScript events inline in HTML or through a script.

learn more… | top users | synonyms (1)

0
votes
2answers
28 views

onsubmit not fired when last entry is correct

Everything works fine when there is nothing in the email input. But as soon as I enter a "valid" email address, it doesn't even fire the function because the alert is never triggered. Any help will be ...
0
votes
1answer
22 views

Keyboard hide event in android

Which event triggers when we hide / show the keyboard at the android in Javascript? How can I subscribe? I need to show my block after the keyboard completely hides.
0
votes
1answer
26 views

Where to add onsubmit to a form in Javascript

In my HTML I've got a form without an onsubmit event listener: <form action="contact.php" method="post" id="contact"> ... <input type="submit" value="Send" /> </form> As a ...
1
vote
0answers
48 views

Javascript Body OnLoad Event is not triggered due to missing body tag

I am trying to entegrate 3D Secure payment logic with javascript. As I post the credit card info to bank, I get a reply html.. This html redirects the screen to 3D Password screen of the bank which is ...
0
votes
2answers
46 views

'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.top.postMessage($(this).text(), "*"); ...
0
votes
0answers
3 views

X-webkit-speech on Safari ipad

On Chrome we can capture the onwebkitspeechchange, is there any event fired on ipad when using voice input into a text field?
0
votes
1answer
25 views

how to get open window instance from a third window

I have one window (in domain-1) from there I need to open a new window (in another domain say domain-2) . Now in domain-2 I need to open a same window (parent of domain-1) but need to close the ...
0
votes
0answers
9 views

Handling on click except on radiobutton in the first TD of the cell in the repeater Control

I have a repeater with 5 columns. I've used live click on the tr to redirect it to that particular transaction. Header Columns: TranID, TranName, TranType, TranSubType, TranLoc Body of the ...
0
votes
0answers
37 views

Make one element respond to all drag events inside a div

My page is split into three divs (right, center, left), and the first div has multiple other divs inside it. I would like to be able to drag divs from the first main div to the others. This much works ...
2
votes
1answer
111 views

Did windows update 2846071 break break the handling of window.event.clientX clientY?

Did windows update http://support.microsoft.com/?kbid=2846071 break the handling of window.event.clientX and clientY? It seems that Windows 7 machines using IE 9 or 10 now return something that looks ...
0
votes
0answers
11 views

Don't run tap event handler when clicked with a mouse

I have two separate event handlers that I need to react to the "tap" or "click" events, respectively, but I don't want them to overlap. ie - $('element').click(function() { // do some stuff }); ...
-4
votes
0answers
29 views

Not sure why this doesn't work [on hold]

<!DOCTYPE html> <html> <head> /* javascript for adding listeners etc*/ <script type="text/javascript"> /* gets the element id and returns it*/ function _(x){ return ...
1
vote
0answers
17 views

Trigger default scroll behavior

I need to trigger the default scroll behavior, like what happens with the scroll wheel. However, I shouldn't just do $("body").scrollTop($("body").scrollTop() - 10) because I don't know that the ...
0
votes
1answer
33 views

Unable to call `change` event for cloned `select` control

I have dynamically added new row by clone the last row. this row contains select picker control. How can i create the change event for newly added control. I have tried by adding below script , but ...
2
votes
0answers
32 views

Elements in <li> in contenteditable sometimes don't receive keypress event

I created a contenteditable div. I want to lock text editing (in the example below, I want to lock "yes") within one of the children. Here's the HTML: <div id="foo" contenteditable="true">this ...

1 2 3 4 5 586
15 30 50 per page