I've been reading up on how I can dynamically load a css file using jquery at the page's runtime, but haven't been able to find anything on this... what I am wondering if it is possible to basically re-load a css file to reflect changes from the server side..
The reason for this is that I am making an app that offers a number of differe...
Let's say we have a slideshow of pictures. the thumbnails of those pictures are showed in div wrapper with a slider (that I created with Jquery) and each image is included in a <li> with a CSS background set, which of course represents the image. I chose to use a background-image for a layout matter because they all are different in size...
Hi,
I have a form that has a "Is you billing address the same as your shipping address" field. If the user clicks the radio button "No" the hidden ul#billingAddress is shown. The fields contained in ul#billingAddress are required if it is visible, that is if the ul has display:block.
How do I write a custom addMethod for jquery validate...
I hate to just come out and ask a question I've made no progress on but the simple reality is that I am not that good with javascript and only able to stumble my way through jquery.
But here's what I am attempting to do. I am part of a play by post RPG site that recently has changed its calendar system to something that is a bit more f...
We build sites that have a public (non-secured) area and secured (delivered over HTTPS) area and we use jQuery library.
Recently I suggested we use Google CDN for jQuery delivery. Some of my colleagues expressed concerns in regards to security aspect of this way of delivering JavaScript libraries. For example, they mention the scenario ...
The jQuery team recently launched http://jquerymobile.com/ with the intent of creating a user-interface library for mobile devices.
Our aim is to provide tools to build
dynamic touch interfaces that will
adapt gracefully to a range of device
form factors. The system will include
both layouts (lists, detail panes,
overlays) ...
How can I fade edges of a div with jQuery? Think of a carousel with images inside that slides horizontally. How can I fade out the left and right sides so that images near the edges disappears gradually.
Hope it's clear. :)
...
the first time the code is executed it correctly produces:
load complete
but the 2nd time it produces:
load complete
load complete
the 3nd time it produces:
load complete
load complete
load complete
etc... so the 20th time the load function completes the call back function gets fired 20 times.
$('#image-tag').load(function () {
...
Hi,
I'm using a swap value script to put the field label inside the input, on focus it clears and on blur it keeps the value you entered. I need to make a validator.addMethod so it won't validate with its initial value.
Here's the swap value script
$(function() {
swapValues = [];
$(".swap_value").each(function(i){
...
We are trying to implement geolocation on this mobile app, we get the prompt for location but its not actually updating. Tried to firebug and I am not seeing any posts or responses.
Does anyone see anything immediately wrong?
http://bit.ly/cCMlWv
here is our js function
(function($){
$.extend($.support,{
geolocation:function(){
...
Hello, just wondering if there is any jquery plugin that when your mouse is over an image, this image will increase in size and if your mouse is out of the image it'll decrease in size all this as a smooth transition.
thanks!
...
Hello!
I don't know if it's a bug or not, but here's my problem: I filter the jcarousel content using jquery. Everything goes ok until i start to use the next/prev buttons. On the default stage of filtering, buttons are working ok, but after i start to filter the content (images) the jcarousel start to work all crazy. For example, if i ...
Is there a way to validate this code I have below? I mean I have a save button too where when I click save and none of the checkboxes are checked, I would like it to validate, but not validate where it throws an alert.
var chkbox= $('#divListBox').find(':checked')
.map(function() {
return $(...
I'm looking to create an expandable and collapsible tree menu using JQuery for many nested lists.
...
This:
$('input.people').attr('checked', false).filter('[name=toddS]').attr('checked', true);
will select a checkbox with the class of people and the name toddS while unchecking all of the other boxes.
How do I add another name to the filter? I've tried several different combinations and nothing works. This is what I have:
$('input...
Hi, I have the following jquery which animates on hover:
$('#footerNetwork').hover(function(){
$('#popupNetwork').animate({top:'-62px'},{queue:true,duration:500});
}, function(){
$('#popupNetwork').animate({top:'30px'},{queue:true,duration:500});
});
$('#footerPort').hover(functio...
Hi, the following code gives me an alert with the selected value on page load
var itemLevel = $('Select[title=Item Level] option:selected').text();
alert(itemLevel);
But how do I do it if the user selects another value in the dropdown list and I want a new pop up with that value instead?
Thanks in advance.
...
Hi guys, ok so I have these 3 fields that I am cloning, using jQuery, but for some reason the ID's are not incrementing as they should, they all end up with the same ID's, here is the jQuery code:
$(document).ready(function() {
$('#btnAdd').click(function() {
var num = $('.clonedSection').length;
var newNum = ne...
Hello all,
I saw the following usage of jQuery selector:
$('[value=""]', event.target).remove();
I can guess the meaning of this statement is to remove the option value="" from the selector event.target.
The pattern looks like $(A, B).
What kind of selector rule is used here in jQuery?
Thank you
...
I want to clear the selection of checkboxes if they click cancel. How can I achive this with this code:
var chkbox= $('#divListBox').find(':checked')
.map(function() {
return $(this).val();
}).get();
...