Tagged Questions
jQuery is a cross-browser JavaScript library that facilitates DOM traversal, event handling, animation and AJAX interactions.
1
vote
0answers
16 views
.height() doesn't work in WebKit
My could is supposed to get the height of several items in a div. It works like a charm in Firefox, but in WebKit the is no height().
for (var i = 0; i < items.length; i++) {
var item = ...
0
votes
0answers
14 views
JQuery Autocomplete : Getting the selected ID
I have problems to get the selected ID in the autocomplete Jquery input.
My php function with the query and the json_encode
public function autocompleteAction()
{
global $config; ...
0
votes
0answers
5 views
applying jquery prettyCheckable for dynamic content
I am trying to apply jquery PrettyChecker sample like this SAMPLE FIDDLE
<input type="checkbox" class="prettyCheckable" value="1" id="Test1" name="Test1" data-
label="Right positioned label (no ...
0
votes
0answers
7 views
jquery - TypeError: Object [object Array] has no method 'exec'
When I try to use selector on my page like
$("selector:pseudoselector") or $("selector").filter(":pseudoselector") or also $("selector").siblings("selector"), I get error Uncaught TypeError: Object ...
0
votes
1answer
9 views
How to get JQuery image hover function to return to default image
I've made a jsfiddle that will hopefully be quite self explanatory.
I have managed to get the smaller images to replace the larger image on hover, however I am now trying to get the image to return ...
0
votes
1answer
19 views
jQuery ajax - no jQuery css
I am trying to navigate through pages with ajax. I have a header and footer a div with id="content" between those two. What I want to do is to replace the content, in order to this I have an onclick ...
0
votes
1answer
17 views
How does keypress events works with element which doesn't take any focus
I need to attach a key press event on a element. I know we can use $(":li").live() will do that but since li is not a focusable element how can it take the key press event. Or when does the key press ...
0
votes
1answer
9 views
draggable background image not displaying on ipad
I'm desperate. I've tried a million things to make this image work on desktop and now that it is, I noticed it is not displaying on ipad. It does on my phone (galaxy s3) but it is not draggable!! :(
...
0
votes
0answers
6 views
Slides are fluctuating in Flexislider
I am facing a slide fluctuation issue with Flexislilder. I googled it but couldn't found any solution. Here is the working example http://www.pixelmagics.com/demo/xpat/pat/.
Could someone please help ...
0
votes
4answers
56 views
change onClick event of div
this is the code to change on click event of div,
Onclick: function { flipIT()},
.
.
.
.
.
.
for()
{
//inside loop
image.onclick = my.onClick;
}
i want to edit my code and change .click ...
0
votes
1answer
25 views
Cancelling Ajax request on closing of DIV
I have some jquery which is designed to make an ajax request when the div is open. What I am concerned about is that there is potentially quite a bit of html to be loaded in the ajax call, and if the ...
3
votes
1answer
37 views
Radio button onChange event on checked element
I have a table which contains two columns.
Let say First column contains Parent Name, and second child names.
First parent element is selected by default. I am hiding children of every parent except ...
0
votes
0answers
4 views
how to query Instagram api to retrieve tagged photos of a particular user using Jquery
I have already established extracting photos by a particular user, now what i need is to also extract photos where this particular user has been "tagged". Here is my current jQuery code:
$(function ...
0
votes
0answers
12 views
IE does not append Underscore generated HTML
I am using jQuery and underscore to add HTML fragments dynamically to my page.
The code works with Firefox and Chrome, but it does not work with IE.
Thanks !
<html>
<meta ...
0
votes
0answers
11 views
Make datepicker be displayed beyond and iframe
I have a datepicker that is inside an iframe. However, there are times that the iframe is too small and invoking the datepicker will cause the iframe to have scrollbars due to content overflow. I need ...