I'm sending a post request to a php file that makes an MySQL query and iterates through the responses. During the iteration it echo's out a string that I want to bring into jquery one-by-one for each iteration.
So for each echo I would like one success value so that the user does not have to wait for all the iterations to finish.
The...
Hi everyone, this is my first post, but i'm excited to join this community. I have a question regarding JavaScript which I am completely stumped about.
I'm writing a JavaScript application which pulls data from a server using ajax and adds it to a chart. I'm using Jquery and Highcharts as the framework and then writing my own JavaScr...
Possible Duplicate:
JavaScript: Scroll Position of div with overflow: auto
Hi,
i want to start a function XXX(); when the scroll-end from a div (overflow:auto;) is reached.
<div style="width:200px; height:500px; overflow:auto;">
/* content here */
</div>
Is this possible?
greetz from germany
Peter
...
I am trying to make a simple content-sliding thingy and got stuck writing the code for probably the simplest stuff - handling hover for the navigation part of the slider. I want it to be so that when one of the divs with slide info has been clicked on, the hover doesn't work for it, but works for the other two divs.
I've tried classes ...
Hello,
Is it possible to call a function by using the strings ?.
i.e i have a variable var target = 'next';. Using this string i want to call the jquery method next() . Should i use target + '()' (this is bit foolish) to call next() ???
I know it can be done using conditional statements. Since it is a var got from users, it is a heav...
How to get this work with jQuery.live?
$("a[rel]").overlay({
mask: '#3B5872',
effect: 'apple',
api: true,
onBeforeLoad: function () {
var wrap = this.getOverlay().find(".contentWrap");
wrap.load(this.getTrigger().attr("href"));
}
});
I tried this with no succes:
$("a[rel]").live('click', function (...
I need to make a simple queuing system so that no more than 3 ajax calls are active at any given time. I am using jQuery. Can any one help me out.
Thanks
...
$('#foo input');
$('#foo').find('input');
Both I believe get only the inputs straight descendant to #foo (ie. only the inputs nested immediately within foo). How can I get all the inputs, no matter how deeply nested in #foo?
Edit: Bah, this works. Sloppy me. Need coffee. Thank you all.
...
Hi,
I am trying to make a simple Safari 5 Extension that just injects a custom javascript. Any ideas how can I make use of jQuery in this custom script, please? I only know it's possible, because it is mentioned on one of WWDC videos, but I don't know how to do it.
Thanks
...
Hi folks. I am pulling serious amounts of hair out over this. The problem: make jcarousel accept variable width image and center them with no gaps between images. Mathematically, my solution is correct although hacky, and the result is a slight hitch before each slide animates. A slight, very madding hitch. Please take a look at http:/...
I'm struggling with this, I am still new to javascript and am trying the jquery $.inarray function as I need to be able to find a value in an array so that I can return other values from the same array "line", such as its ID.
When I try to use jquery's inarray function, like this, I just get back -1, saying that it doesn't exist when I...
I have some data that is broken up into sections, much like the Resume feature of StackOverflow Careers (it's not resume data, though), that is editable/create-able via a jQuery web app. It's a bit more hierarchical (jobs can have sub-jobs, etc.) so depending on what method of CRUD I take, it means differing amounts of work. I don't mind...
I'm trying to implement parsing of CSS in JavaScript so that:
a {
color: red;
}
is parsed into the object:
{
'a' {
'color': 'red'
}
}
First off, is there a JavaScript / jQuery library I can use?
My implementation is pretty basic, so I'm sure it is not fool-proof by any means. For example, it works fine for basic CSS, but...
I am using the jQuery Tokenizing autocomplete plugin (http://github.com/loopj/jQuery-Tokenizing-Autocomplete-Plugin) and I create new input types on the client side using the $('selector').after('html'); method. When I do this, the newly created element does not use the plugin.
The initial input is tokenized like this
$('.recipe_ingre...
Example of failure:
http://progamonth.com/files/testfile.html
Desired Behavior:
Ideally, any headers with a colspan shouldn't affect sorting. Right now, they receive sorting buttons, and even if I specify headers: {index: {sorter: false}} for each of the colspan headers, they still affect sorting. When I click the headers with no rowspa...
In trying to build a page where I can filter the types of jobs and the offices using the hide/show function, I find that if an element is hidden, then an element underneath the element is "told" to hide, it doesn't actually hide. In other words, hide only works if the actual element is shown.
Here is the code, to duplicate, Hide office...
Hi,
I have a small form which takes the values name (TextBox), age(textbox) , Education(select box with values"Bachelors" and "Masters").
So I have a Button with the "ADD" which adds the values to database and displays it in a table format.
Iam having the table with 10 rows and each row is identified . So I have two Buttons such as ...
I want to build instant messaging notification on my ASP.NET MVC (C#) web aplication. Any example for that or some other way to learn how to do this? I want something like a facebook mailing system.
...
I am just starting PHP (as in today).
I want to create a customizable menu using a jquery script that can have a variable amount of items.
I am getting an error when i run this.
The error is:
Parse error: syntax error, unexpected T_VARIABLE in /home/s0urc3/public_html/files01/menu.php on line 5
Thanks to Chase for his answer
inde...
Using the groovy Fisheye function from the jQuery plugin Interface, and setting "halign" to "left" the effect seems to apply to the next image in the list rather than the one that the mouse is actually over.
link
...