1
vote
1answer
17 views

onmouseover and onmouseout event being triggered on page load not on events

I have the following code var statusList = document.createElement('ul'); //I am populating this list elsewhere statusList.style.display = 'none'; var statusSpan = document.createElement('span'); ...
0
votes
5answers
39 views

How do I pass additional parameters to the handlers in $.fn.hover()?

The documentation of jQuery's hover shows only one method of using the function: $('.myClass').hover(function () { console.log('on mouse over'); }, function () { console.log('on mouse out'); ...
0
votes
0answers
23 views

Simulating mouse click / trigger event in bookmarklet or greasemonkey

A specific web page (not owned by me) displays data rows. Problem is it only shows 50 rows and has a "show more" button on the bottom. Clicking the show more initiates a AJAX call to display another ...
1
vote
2answers
76 views

How to know when the cursor has halted somewhere?

I have a graph, and I want to display the value onder the cursor by using the default tooltip (set by the Title attribute). To show the right value in the tooltip, I could calculate the value each ...
0
votes
0answers
17 views

Is it possible to bind events to the recline.js slickgrid view using the “events” feature?

Using the SlickGrid view from recline.js, I've been trying to bind an click event to a row without success. It's easy enough to $('.slick-row').click(function() {...etc}), but I was hoping to use the ...
0
votes
0answers
28 views

Remove all the plus sign of the string outside the brackets [duplicate]

I am working on some kind of project where i am using code block as follows: var string = .row-4 .col-2.grid-unit+.grid-unit+.grid-unit,.row-4 .col-3 .grid-unit .row-4 .grid-unit:nth-of-type(2n+3) ...
0
votes
1answer
20 views

Implement view photo functionality like in Twitter

I'm looking to add a twitter feed into my site that shows images posted, but rather than click on an image and it takes you to twitter to see the photo I would like to be able to click on a link ...
0
votes
3answers
36 views

How do I make a table cell clickable in this JavaScript generated table?

How do I make a table cell click able in this JavaScript generated table? I think where I've placed the comment in the script tag is where I need to change the code! This code works so far! ...
0
votes
2answers
31 views

Getting event default handler's result from jQuery handler

Let's say there is a DIV element with an onclick event: <div onclick="return 'Hello world'"></div> Now I want to get this 'Hello world' string from delegated jQuery event: ...
0
votes
2answers
19 views

How to completely stop jQuery cycle function from running (not pause / resume)

I'm having an issue using jQuery cycle in a responsive mobile design. Using CSS I can get it to display properly on page load, but once the cycle has loaded it no longer becomes responsive as ...
0
votes
1answer
42 views

Detect DOM element position change using pure javascript

I want to notify when the position of DOM element changes. I have an image with absolute position in a document at the top of an element but when for example the size of something on top of my element ...
0
votes
1answer
33 views

Jquery place the values in their corresponding element from json

When the user clicks on edit icon in UI, Ill fetch the corresponding json data from Service. I am showing josn values in their coresponding element by hard coding that element id, if it is text ...
0
votes
0answers
5 views

Google maps JS SDK on mobile: how to cancel the zoom in

I am trying to cancel the zoom-in feature in Google maps on a mobile browser. On a desktop I can simply set the map's 'scrollwheel' to false: map.setOptions({scrollwheel: false}); But this doesn't ...
2
votes
2answers
49 views

Clone element with all its events

I'm cloning a textarea in a page but the cloned element doesn't have any event of the primary element, is there any way to clone all events in cloned element? var dupNode = node.cloneNode(deep);
0
votes
1answer
23 views

Using click() on links in Android Stock Browser not working

I want to trigger a click on a link with JavaScript but have problems getting it to work on the Android Stock Browser. The following code works fine in Chrome (Desktop, Mac) and Safari (iOS) but not ...

1 2 3 4 5 444
15 30 50 per page