jquery

Circular rotating/magnifying menu with jquery

I'm trying to make a menu that contains 5 items/icons with the selected one being in the center. Clicking to the left or right of this centered icon, rotates the menu left or right, wrapping round the edges and moving whichever item was closest to the edge back in through the opposite one. Clicking on the centered item takes you to its l...

how would one create a jquery modal dialog pop confirmation box after submission

hey everyone! i am currently working a edit and delete pages for a company database. edit.php right now i am trying to get php to check that a form has been successfully submitted (it POSTs to itself) and once this check is done then it would render a jquery modal box informing the user that the form has been successfully edited. de...

How to change CSS with jquery ?

I have the following HTML generated dynamically by PHP. When I click active, it changed to inactive and vise versa. I added div class='status' for jquery manipulation. (Do I need it? Can I do it without this div?) I want to change CSS class='status' to class='inactive' when I click active and when I click inactive changing CSS class to...

Send data to XML via AJAX jquery

I have a small script, where on change I am getting the ID of a select, I then want to take that ID and send it via "data:" through the jQuery AJAX call. I am using XML for my data and I am sending this ID for it only returns results with that specific ID? I understand how to do this with PHP, but never worked with XML and jQuery befor...

call function on link

i have one function in jquery like this $("#Button_save").click(function() { Save Command; }); this work fine with image <img src="save.png" width="16" height="16" id="Button_save" style="cursor:pointer"/> i want to call same function on text hyper link i use this <a href="#" onclick="javascript:Button_save();">...

How to add a class depends on value with jquery.

From my question http://stackoverflow.com/questions/1908889/how-to-change-css-with-jquery, I now understant what I need to learn and what I want to do. I want to add class active or inactive depends on the value with jquery. For example changing <td align='center'><a href="http://127.0.0.1/ci/index.php/admin/pages/changePageStatus/21...

jQuery.forms.js works using click() but not submit() (using selenium)

My form has an ajax handler provided by jquery.forms.js. form.ajaxForm({ dataType: 'json', clearForm: true, success: function (data) { form.replaceWith(data); } }); I'm testing this using selenium (the python RC interface), and it works when I click() the button, but not when I submit the form: locbase = "dom=docum...

Gridview manipulation using JQuery and JavaScript

I have an ASP.NET gridview I want to manipulate using JavaScript/JQuery. The problem I THINK I'm going to have with my approach is that the server won't have any knowledge of the rows that I am appending via gridview since the html representation of the gridview control is coupled with the object model that lives on the server. So here...

Preferred jQuery toolTip?

There are a bunch of jquery tooltip plugins out there. Which one should I use? and why? ...

jquery keyup delay?

i have a search field where the user type in a search string and it searches. right now it searches for every keyup. so if he types Windows it will make a search with ajax for every key he press. W, Wi, Win, Wind, Windo, Windows. I want to have a delay instead, so it just search when he stops typing for 0.2s. There is no option for th...

transform a select list into a ul list

I am trying to clone a select list into a standard ul list for enhanced javascript select box manipulation/styling. Basically, if I do this: $("#calendar select option").clone().appendTo("#test"); i get the following html <ul id="test"> <option>All Types</option> <option>Installation</option> <option>Music</option> <option>Performing ...

Can some please explain this jQuery code?

I have posted this before, but I would like to refine my question (and I can't seem to do it in the old thread). The code is: $(document).ready(function() { var rot=$('#image3').rotate({maxAngle:25,minAngle:-55, bind: [ {"mouseover":function(){rot[0].rotateAnim...

jQuery - $.each loop through variable object

I'm working with a JSON dataset that has multiple high level objects. If I literally declare the object name, I can loop through the JSON with no trouble, but when I use a variable in its place, I get errors. It appears that it's trying to apply the variable name as the literal name of the object. Here's a quick example function(data){ ...

How to get mouseup to fire once mousemove complete (javascript, jquery)

It seems that mouseup events are only fired when they are not in conjunction with a mousemove. In other words, push down on the left mouse button and let go, and mouseup is fired. But if you drag across the image and then let go, no mouseup is fired. Here is an example that shows this behavior: <script src="http://ajax.googleapis.com...

jquery - javascript variable not holding value

I'm using this code to submit a form to a php script: var valid = 'true'; $(document).ready(function(){ $("#contact").submit(function(){ $.post("process.php", $("#contact").serialize(), function(data){ if(data.email_check == 'invalid'){ valid = 'false'; //<---not set! $("#email1").addClass('...

jQuery fadein image on change then fadeout on load

I have some simple image slider that I've made. I have list of small images, and whenever one of them is clicked, I replace source of target big image with clicked (+ some manipulation with src to get bigger image from server). Now I want on small image click to fadeout big image, and when new image is loaded to fade it in. Tried with ...

JQuery: accessing LI nodes?

I have the following HTML <ul id="listing"> <li>...</li> <li>...</li> <li>...</li> </ul> How can I access the 2nd LI inner text? Can I do $("#listing li").[1].text() If not, what is the sytax? ...

Difference in regex email validation between jQuery plugin and org.springmodules.validation

Greetings! I have a Spring app and a form getting validated on the back and front ends. On the back end I'm using annotation based validation for the EMAIL field with help from org.springmodules.validation. So far so good. On the front end I decided to use the jQuery Form Validation plugin and discovered that front and back validation a...

Jquery accordion is working on my computer but not on server

Hi, I'm having problems with jquery accordion together with jquery slider. The jquery slider is nested inside the accordion. On my computer this works fabulously (even though IE gives some problems). I uploaded on the server and it forms up the accordion links but these do not open when u click on them!!. any ideas? link Username:Te...

JQuery: .text() get the html within a node, how do I set the text within a node?

Using JQuery, I can do the following to get the text within my LI $("#listingTabs li").eq(2).text(); How do I set the text? Because the following doesn't work $("#listingTabs li").eq(2).text() = 'insert new text'; ...