0
votes
2answers
30 views

Creating a browser Exit popup

What I want to do is detecting the browser close event(on browser unload) and open up a new pop up where we have some options like (give a feedback, go to the page again , mail me a report etc). At ...
12
votes
5answers
8k views

(jquery/js) - get text from field on keyup, but with delay for further typing

Hey all. I have a form which is submitted remotely when the various elements change. On a search field in particular i'm using a keyup to detect when the text in the field changes. The problem with ...
1
vote
2answers
63 views

else if is not printing my console value

I am having a js code which displays a multi coffee value... if i am trying to display a single value coffee...its not going inside the else if.. i modified existing code but getting undefined ...
1
vote
1answer
50 views
+50

Interspersing KineticJS and jQuery events

I am looking to build a simple photo collage using KineticJS and Canvas. In the canvas container, I have pre-defined image areas. I also have (in the DOM and outside of the canvas container), a strip ...
0
votes
3answers
36 views

Rest .next()? My click function adding '.active' twice?

If you take a look at this fiddle it will seem fine, but if you click next and move down 2 to 3 times, and then click "memory" (in top nav) it takes .active back to the first .item, then if you ...
0
votes
3answers
54 views

Combining chunks of Javascript

I'm far from an expert at Javascript, and self taught, and I think this is probably Javascript 101, but I must have missed that lesson. I've come up with the following code to make 7 rows in a table ...
0
votes
1answer
23 views

Pub/Sub scope in jQuery

I am attempting to implement a Pub/Sub pattern in jQuery with the following code : $.each({ trigger : 'publish', on : 'subscribe', off : 'unsubscribe' }, function ...
2
votes
0answers
36 views

Video went to Idle state in jwplayer

I am using jwplayer for playing video jwplayer("container").setup({ flashplayer: "<?php echo $this->getSkinUrl('video/mediaplayer/jwplayer.flash.swf') ?>", autostart: true, file: ...
0
votes
0answers
23 views

Form getting submitted when hit enter key after selecting option from multi select lookup in Firefox

I have written below code to avoid form submission when we select the option from multiselect lookup using enter key. The below code is working fine in case of IE8 and IE9 but in Firefox the below ...
-1
votes
2answers
42 views

Java script object and property not supported in internet explorer 8

I have created a JavaScript object with some properties and put the some value into them. var summaryViewObject[transactionId] = new Object(); summaryViewObject[transactionId].paymentTotal = ...
0
votes
2answers
25 views

jQuery does not fire when changing the anchor link in the URL… How can I capture this event?

I have a page with accordeon-type subsections which are toggled open by clicking on the section title or by clicking a link from a dropdown in the global site navigation. The intention is to make ...
0
votes
4answers
3k views

How to prevent AutoPostBack when DropDownlist is selected using jQuery

I want to show a confirm dialog when the user selects an item in a DropDownList. If the user presses "Cancel", I want to stop the postback. Here is the function I add to the onchange event: function ...
3
votes
2answers
6k views

binding onload event on image object jquery

Hi I have following code on my site backgroundImages[bg_img_path_b]=new Image(); backgroundImages[bg_img_path_b].src = bg_img_path_b; backgroundImages[bg_img_path_b].loaded="loading"; ...
-4
votes
0answers
24 views

How to catch events from different elements using jquery?

I should send ajax call when change event fires in three different inputs. So, i should know when all tree events will work. How i can do this? I add event hendler to all tree elements, it's ...
0
votes
1answer
36 views

Javascript login/signup callback functions

I'm working on a magento extension,all based on javascript and i need to integrate a widget from Wordpress. I have the event.js from view /widgets /* links events */ var eventLinks = function() { ...

1 2 3 4 5 204
15 30 50 per page