Using VS 2010 here. Basically some of my linkbuttons kick off a long database query, how can I automagically display a spinner when the page is waiting for a postback? Mind you, this isn't an ajax postback, but a normal postback after clicking a server linkbutton.
Thanks
...
how do i unset this option from a input?
im using ajax to populate this field and after that i need to show it
thanks
...
Hi All,
This has got me for some reason the code below is translating the currency variable to a string and then not getting the actual value from the self named variable...
$("#quantity").change(function() {
var euroPrice = new Array("12.95", "14.95", "18.95", "21.95");
var gbpPrice = new Array("10.95", "11.95", "16.95", "18.9...
Looking for a jQuery gallery plugin similar to Galleria or GalleryView but instead of the thumbnail images on the bottom they located on the left or right vertically. Thumbnails also need to have a scroller as well, ie show 5 thumbsnails at a time but can page back and forth to see more thumbnails.
Thanks for the help.
...
I am trying to use jQuery to do some validation on a form; I need a method where I can validate if all controls in a have been filled out \ selected. The CheckBoxLists my application supports are giving me a hard time as it seems like jQuery likes to address each checkboxes individually, but what I really need to do is evaluate all CBLs...
Hi all,
I need to animate shopping cart images from a listing page into a set position (basket) on the top right of the page. (A fly to effect if you will so people can see the item going into the basket)
I have only ever used set vales for animate so Im not sure where to start. Obviosuly each image/product clicked will need a differen...
I just updated from jQuery 1.3.2 to 1.4.3, and I'm seeing some new behavior when making AJAX DELETE requests. For some reason, the data being passed in my data parameter is not being sent to the server. For example:
$.ajax({
url: '/example',
data: {id: 12},
type: 'DELETE'
});
Ends up sending a DELETE request to /example ...
I have a page like for example: http://www.stackoverflow.com/how-many-users-visited
I have inside that page already those google analytics javascript under my UA-0000-1 account.
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-xxxxxx-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga...
In both plugins the "page size" select list is not functioning properly. When I change the page size from 10 to say, 20, the table is not updating/refreshing until I click on some random spot on the page.
Why does it take this extra click in order to get the table to update / refresh? Other select lists on the page that serve as filte...
This is the statement which I am referering the below code $.ajaxSetup ({ cache: false});
I have a PHP script which produces JSON. I am consuming this json using:
$.getJSON ("GetDetails.php?id=123",
$("#formname").serialize(),
function(data){
**$.ajaxSetup ({ cache: false});**
//I do a...
I'm very new to jQuery and having some issues figuring out stuff here :)
I want to create a gallery that's something like this.
[IMAGE]
[previous / next]
[ 1 of 5 ] <- (for example, if I have 5 images, I want to display the numbers)
I figured out up to prev / next button part by using jQuery Cycle Plugin, but i couldn't figure ...
Hi all,
I am trying to wrap individual li tags with a nested ul. For example I want the first HTML snippet, to be the second:
Snippet #1
<ul class="lof-main-wrapper">
<li class="featured">
<h3><a href="#">Title</a></h3>
<a href><img src="" /></a>
<p class="kicker"></p>
...
I have a form with a select list that allows users to choose multiple items. I am using
$('#my_form select').change(validateInput);
to fire an onChange event whenever an item is selected or de-selected in my select list. It works fine on my desktop machine but the validateInput function does not run on iPad.
If I change my select list...
URL: www.Wyler.com
Problem: If you go to this site look at the inventory search bar right below the navigation menu. I need a script that throws an error if you try to click the "search" button if "new" and "select dealer" are selected. I tried to do this based on which options had a selected attribute but i'm not sure that attribut...
Given:
<%=form_for [:project, @note], :remote => true do |f| %>
I'd like to create a jquery bind that automatically saves every few seconds. I'm not worried about the timing part yet, just how to use jquery to submit the form automatically (ie, not submit button click by the user.)
I tried this, but it isn't working. Suggestions?
$(...
I am using the jquery.watermark.min.js plugin.
I just recently noticed that it is submitting the watermarks on form submit. It wasn't doing it before, but now it is. Not sure what I changed. Any ideas? Or fixes?
I am using MVC, Ajax.BeginForm, I have a viewmodel with validation on it.
The website said something about using jquery v...
Can anyone help me I have two panels I’m using on one page and I only want one to show at a time so I made an adjustment to the js but it doesn’t seem to be adding the class. Can anyone help?
$(document).ready(function () {
$("div.panel_buttonGal").click(function () {
$("div#panelGal").animate({
...
Hey,
Is it possible to change the "data source"- the autocomplete from this jquery code:
$(".textbox").autocomplete(
"**autocomplete.php**",
{
delay: 10,
minChars: 2,
matchSubset: 1,
matchContains: 1,
cacheLength: 10,
onItemSelect: selectItem,
onFindValue: findValue,
formatItem: formatItem,
autoFill:...
I am just starting out learning some HTML and javascript (read: I know practically nothing about this stuff) and would like to have my index.html page open a rotating image gallery using FancyBox.
I've got it all set up, to the point that the first image comes up in a modal dialog when the page loads, but I'd like the gallery to autom...
Hi all,
I have a list that I would like to have fade in and out through each of the LI with a delay between showing the next li. I feel like I should be able to just iterate through the List, but am not getting it to loop. Something with index?
$('#content li').hide();
$('#content li').each(function(n){
$(this).delay().fadeIn('li').de...