jquery

dynamically add multiple jquery ui datepickers to page

Hello, I have a form that initially loads with one date picker from the jquery-ui. A user can then click on add to add more dates. These new date fields should append to the DOM, but apparently don't. I know I need or should use .live() or .bind() but I am having some trouble on the best way to do this. Below is the code I have. Thank...

livevalidation_standalone.compressed.js not working in thickbox.js in chrome and safari

livevalidation_standalone.compressed.js is not working in thickbox in chrome, thickbox is opening but validation not working at all, but it works in ordinary seperate page in chrome, Note: Thickbox with livevalidation_standalone.compressed.js validation works well in firefox. While view source i could not find this: <script type="tex...

jQuery.post(), PHP and redirects

THIS PROBLEM IS NOW SOLVED. THANK YOU TO EVERYONE WHO REPLIED. Hello, I am trying to solve a problem that I may have approached from the wrong direction, so maybe someone could suggest a better solution. I am writing a little web app for work, that has a search function. When user submits a search string, form gets posted to a CodeIgn...

jquery ajax is converting ruby objects array into has.

So I have this weird problem with jquery doing a ajax post with a ruby object. I have 2 options. 1. $('form_id'}.serialize(). I know this works. But my form simply has too many fields, and it is a little too inconvenient to manage them in the form 2. Second option, the rails controller is constructing a ruby object along the way as the f...

Change URL of an already created Jquery UI Tab (via select menu)

Okay, so pretty much I'm banging my head up against a wall right now. I'm making a form that is spread across three tabs. Basically you would select an employee at the right and their information would be populated to the left in three tabs. Each tab has a different form. I am working with coldfusion and I tried using CFLAYOUT + CFDIV,...

cache problem jquery

I have a fancybox, and for some reason it gets cached. My current problem is layout this way. I have main index page, where I have a link. Clicking on the link open the jquery fancybox. The fancybox is actually opening the page called data.php. That page has a drop down that is populated through the database column. So when I change some...

How to prevent delegated handlers on a parent without preventing default in jQuery?

Is there any way to prevent a click from an <a> triggering delegated click handlers on its parent, while allowing the the <a>'s default behavior to occur (navigating to the href). Here's an example that illustrates what I'm asking. <div class="top"> <div class="middle"> <a href="google.com" class="link">link</a> </div> ...

jquery fadeIn() from opacity: 0.1 - possible?

I'm looking to fadeIn() a div that starts of on opacity: 0.1 or (filter: alpha(opacity = 10) in ie). I know i can do .animate({css.... with an if(supports opacity) but i'm looking for a quick and easy cross browser solution, and i imagine jquery already has one? ...

How to validate recaptcha_tag with jQuery Validate?

I'm using jQuery validate for a contact form: $(document).ready(function(){ $("#contactFormid").validate(); }); and i'm using this rails plugin to generate recaptcha on my page recaptcha_tags :public_key => 'xxxxxxxxxxxxxxxxxxxxxx_xxxxxxxxxxxxxx' , :display=>{:theme=>"white" } how do i get jquery validate...

jQuery create an array of objects with a specific class

Is there an array created somewhere of all the objects with a specific class? I want to find the sixth div with class="clCategory". Is there something like: $('.clCategory:sixth').css(...); or $('.clCategory')[6].css(...); Or do I have to create the array at the same time I programmatically create each of the DIVs with class="cl...

jQuery History Plugin works in Chrome?

The jQuery History Plugin (http://www.mikage.to/jquery/jquery_history.html) is said to work with Chrome: http://github.com/tkyk/jquery-history-plugin Supported Browsers IE6, IE7, IE8, Firefox3, Safari4, Safari5, Chrome4, and Chrome5 but then when i go to the top link mentioned above, if I click on load 1, load 2, and then ...

Multiple User Controls on ASPX page problem

I have three user controls on an .aspx page, each user control has 4 drop down list which draws its data from the SharePoint 2010 ListData.svc using jQuery to added each list. When I go to my hosted .aspx page, only the first user control contains data in each of the drop down list, and the other user control lists are empty. Also, the f...

Pull specific XML node(s) into HTML document

Hi all, first time poster. Please be gentle. This topic may be similar to several other questions out there, but as far as I can see this is a unique problem I'm trying to solve. FWIW, I'm primarily a designer; I'm dangerous with Flash and HTML and CSS, but a bit in the weeds with everything else. From searching around, I appear to be...

IE7 making jQuery animate() visible

If you check out this site: www.pensardevelopment.com/TEST/ you'll immediately see what's happening. In IE7 (don't have to accommodate for 6 thank god), the image animation is visible when it's supposed to be masked whereas all other browsers hide it. What gives? ...

PHP, MySQL & JQuery Question?

I have this script that displays all the users images which i will display below. My question: Is there a way I can display the first 10 images in the MySQL database and have the script hide the rest of the users images until the user clicks the link <a href="#">View All</a> and have the rest of the images slide down when the user click...

Looking for jQuery carousel

Looking for jQuery carousel script that can do the following or similar I can tweak. Go from this imgur.com/hj9GL.gif to this on rollover/hover (also rotate slowly on its own) imgur.com/L2XFp.gif Can anyone point me in the right direction? Thanks! ...

How to use jQuery to set value on screen rather than use alert?

I am using the code that I will post below. I generates the password and works fine. Only problem is that it shows me the regenerated password in the alert box. I want to echo it on the screen. how can I do that. Thanks Using jQuery fancybox and php $.ajax({ type: 'POST', url: '/processPassword.php', data: 'newPass...

jQuery .CSS won't position element to the bottom right!

I am trying to make a simple Modal Box that can be minimzed to the bottom right of the screen so i can make it into a plugin but i cant get the simple CSS to work and position itself to the bottom right! Here is all the code you can instantly paste it and see the example work. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//E...

In jQuery, how do you make a mousedown() event trigger a resizeable box feature?

In jQuery, how do you make a mousedown() event trigger a resizeable box feature? A similar idea is cropping. You click on the picture and drag your mouse and it creates a box to the size of your choosing. $("div").mousedown().resizeable(); or $("div").mousedown(function(){ $("div").resizeable()} ...

jQuery ajax redirect

Guys i have a little problem when i submit my form the page gets redirected to the result, instead of staying on the same page. On the server-side i have a PHP that spits an simple status codes like this: echo '<span>Success/Error</span>'; exit; and this is my request: jQuery.ajax({ type: "POST", url: "ajax.php", data: dataStr...