I'm using the jQuery Quicksand plugin to filter a list by dates.
I've got it working as in the examples given, however, the filter is applied to <li> items which load as block and then once all the items have loaded the float:left CSS is applied. Making the whole process look a little jumpy and messy.
What I can't figure out is why tha...
I have google maps api on my application and I would like to create new maps on google map from my application. I know that this can be done, but you have to login and than data is send to you account. What I would like to do is to send data to just one accout, so that my users will not need to sign in to google.
...
Using jQuery, I'm trying to group similar items in a list. Here's what I'm trying to do. Given a list like the following:
<ul>
<li class="foo">Item #1</li>
<li class="foo">Item #2</li>
<li class="foo">Item #3</li>
<li class="bar">Item #4</li>
<li class="bar">Item #5</li>
<li class="foo">Item #6</li>
<li class...
I want to be able to write code to respond (seperately) to the following events:
Right hand click
Left hand click
Middle button click (optional - nice to have but I can live without this).
Is there an inbuilt way in Javascript that I can respond to these events, or do I need to use a library (preferably jQuery) ?
...
i need a jquery form plugin with uploading images option.
is there anything?
...
Hi.
I animate simply object using:
$("#progress").animate({width:400},2000)
Than i also want to view it's width like that
$("#loadingpro").html(pro+"%");
pro = Math.round(procent$("#progress").width()/4);
But when I am doing it like that it's start to delay whole cpu so much that it is not possible to do it at all.
Any ideas how...
I have the following:
<ul id="mainNav">
<li id="item1"><a href="">item 1</a></li>
<li id="item2"><a href="" class="selected">item 2</a></li>
<li id="item3"><a href="">item 3</a></li>
</ul>
I'd like to know how in jQuery to find the ID based on which AHREF has class selected.
In this case return: "item2"
something like $('#mainNav...
Hi to all,
i would like make a simple script that store one dynamic image (Random) in a variable and then show that in another page (Like before).
This is the source code that show the image in the 1st page (Where i need to store):
<img alt="CaptchaA" style="display:block;" src="image_gen.php?rnd=8900yh0484" id="captchaB" name="captch...
I have a web page that thats sends an Ajax request with a javascript object, using JQuery, to a PHP script which processes the data and then returns a JSON array.
I then need to present the first items in the array within a HTML DIV and at the click of a button swap the HTML to present the next items in the array.
Here is the PHP scri...
Hello,
Here's what I want to happen
Anything the variable hash contains: #/projects/X
X being anything other than blank, I want to fire an alert
Fires Alerts
#/projects/X
#/projects/X/boo/123/123/ads/asd/ads/ads
Does not fire an alert
#/projects/
Suggestions?
...
Hi, I was trying to use the jquery templates (http://stanlemon.net/projects/jquery-templates.html).
What I am trying to do
I am trying to fetch an array of objects through JSON and render them using the jquery templates. I get the JSON as follows
[{"type":"todo","title":"sample task","description":"this is description","tags":["todo"...
Hi, I am trying to make a delete request using ajax method of jquery as follows
$.ajax(
{
type: 'DELETE',
url: '/tagz',
data: {id: taskId},
success: function(data)
{
console.log(data);
}
});
And when I see the console in chrome, I find in the request headers that a GET request is made instead of DELETE. and in firefox ...
How do I prevent my jQuery script from running until the whole page is loaded? (Including images .. ).
Thanks!
...
I have been trying to get jquery.autocomplete (http://docs.jquery.com/Plugins/autocomplete) to work for the last few hours and can't get past this issue. It keeps rendering a hidden div containing the ul. Can anyone tell me what I'm doing wrong? The ul contains the appropriate data....
Thanks,
Mike
...
i have this jquery code that retrieves external content using ajax, without refereshing the page, and i also have a navigation links that has the different background color when user is on the current page.
the jquery code:
function loadPage(url) //the function that loads pages via AJAX
{
url=url.replace('#page',''); //strip th...
Hello, I'm building a web app that loads content with $.ajax and then injects the content in a contentCol...
problem is every time this happens it scroll the browser down. Is there a global way to prevent this and just keep the scrollbar where the user was initially before calling the AJAX?
Thx
...
Hello there JavaScript and Jquery gurus, I am getting and then displaying list of a facebook user's friend list by using the following code:
<script>
function getFriends(){
var theword = '/me/friends';
FB.api(theword, function(response) {
var divInfo = document.getElementById("divInfo");
var friends = response.data;
divInfo.in...
Hi there, i have a table(s) with different dynamic-generated content inside.
How can i do that all with only numbers inside will have text-align to the right?
Well, i know how to add css to some element, the question is how to get only tds with digits
Thank you!
...
Hi all,
I have a webpage I'd like to use locally, without a web server, by simply opening the local HTML file in my browser. This webpage in question loads data via jQuery's getJson() method, as in:
$.getJSON("mydata.json", function(j) {
...
The JSON files are also local, and are stored in the same directory as the webpage. When I a...
I am trying to use jquery to do an animated scroll from one div to another. I am halfway there but can't seem to get it to scroll on both axis. I have called the scrollto plugin and am open to using that. Here is the site live and the code: http://littleboxcreative.com/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "htt...