jquery-plugins

jquery: validate form with multiple checkboxes -- at least one must be checked

I'm trying to validate a form using the validate plugin for jquery. I want to require that the user check at least one checkbox in a group in order for the form to be submitted. Here's my jquery code: $().ready(function() { $("#subscribeForm").validate({ rules: { list: {required: "#list0:checked"} }, messages: { list: "Plea...

Mixing object props and strings in a List<object>

working in .net mvc I have a jQuery plugin consuming a List column for column where the controller outputs: usersData.Add(new List<object> { user.ID, user.FullName, user.Email, user.Company.Name, user.DateCreated.ToString(), ...

JQuery Checkbox Treeview

Hello Everyone, I am searching for a JQuery Checkbox Treeview. Does anyone know if a good one exists? Thanks, Billy ...

calling nyro modal pop up using javascript

hello friends i m new to jQuery and nyro modal. right now i m using nyro modal pop up in this way: <a href='#add_sub_user' class="nyroModal" > <input type="button" name="a1" value="Add" class="buttons" /> </a> Now i want to call the same pop up using javascript like "to show hidden div we use $("#sent_already").show(); Can any bo...

jQuery Form plugin ajaxSubmit callback timing

Hi, I have the following code bound to the click event of a button: function submitForm() { var $submitOK = false; $('#form1').ajaxSubmit({ beforeSubmit: function() { $submitOK = $('#form1').valid(); return $submitOK; }, success: function(html, status) { $("#response"...

Populating a JqGrid with Json data from an ASMX

I have a JqGrid that a i want to populate with Json data that is served by an ASMX web service. Tha ajax call to get the data should be made based on info entered by user in a form. How i can configure jqgrid to do that?. ...

sIFR 2 or sIFR 3 Beta or sIFR Lite! or Jquery sIFR plugin which one is better to use and why ?

sIFR 2 or sIFR 3 Beta which one is better to use and why ? What are the basic differences ? Which one will give better error free rendering solution? And is it better to make font with FLASH IDE or no problem with online converter? sIFR2 - http://wiki.novemberborn.net/sifr/ sIFR3 Beta - http://wiki.novemberborn.net/sifr3/ sIFR Lite - ...

Is it possible to use jQuery to distort elements?

This is just a thought that I'm having, and I'm curious if its possible. For instance, say I have a div with text and an image within. I'd like to be able to click a button and have the top pinch inwards...basically as though I'm compressing it into a singularity. Is this sort of transformation possible? ...

Jquery problem - menu will not work

Hi, I'm trying to get the lavalamp menu working in a theme, but it just doesn't seem to wanna happen! I've checked and rechecked the paths for the files, etc - but to no avail. Any ideas would be appreciated! http://missjennifer.net/srini/ Thank you ...

Programming a demo of a web app in jquery

Hi, we are deploying some small webapps. UI design is quite hard if done right, so lacking resources, we are now looking for a simple way to bring the casual user up to speed. (with our bad design ;) Are there jquery plugins that could be used to create a demo ? (fire events, move dialogs, etc. etc. ?) Should we use a totally differe...

Inline form editing on client side

I see some web sites use dynamic forms(I am not sure about how to call them!) to edit a group of data. For example: there is a group of data such as name, last name, city, country.etc. when user clicks on EDIT button, instead of doing postback, a form, consisisting of 2 textboxes + 2 comboboxes, dynamically opens to edit,And then when yo...

Using Bookmarks with jQuery Address

I am using jQuery's Address plugin (website) to enable the back/forward buttons on my website. I would REALLY like to also have the ability for people to bookmark pages and to copy the address from the address bar and share it with friends. Address claims it can do this, so then what am I doing wrong. My code is function BackButton()...

Alternative to qTip (jQuery Tooltip Plugin)

Can anyone recommend a good alternative to qTip, the jQuery tooltip plugin? I feel like it's slowing down my web app because its adding canvas elements and event listeners all over the place. ...

Is there a jQuery plugin for list sorting?

Is there a jQuery plugin that will allow to sort a list of items (<li>...</li>) according to their meta data stored as a hidden element? For instance every list item has two hidden inputs: author and year. I want sort the list using those hidden elements. I wonder if there is a ready to use plugin for jQuery. So far, I have not found suc...

targeting a specific form with serialize()

Following on from my previous question, which was so quickly answered by Meder it wasn't funny, there's now an additional question that's popped up in the process of making a reusable jQuery form submitted that doesn't take the user away from where they were. Problem The jQuery serialize() function is performing its magic on all forms ...

jQuery plugin to animate colors form one class to another

Hi all, There are a lot of jQuery color plugins. However I couldn't find the one to animate between css class declarations. For example doing a smooth animation from .class1 to .class2: .class1 { background-color: #000000 } .class2 { background-color: #000088 } Is this possible at all? ...

Jquery plugins: how to access options?

Currently I'm writing a jQuery plugin with some options. An example simplified piece of code from a web page: <div id="div1"></div> <div id="div2"></div> $(document).ready(function(){ $("#div1").myFunc({width: 100, height: 100}); $("#div2").myFunc({width: 200, height: 200}); }); And here's a (again simplified) plugin code: ...

jQuery iframeFix on a Sortable

Hello! On my CMS I have a list of thumbnails (Sortable). The thumbnails work great and now I'm writing a plug-in to drag-them to a tinyMCE window. As the tinyMCE window has an iFrame it doesn't work that well. jQuery has an option for Draggables called iframeFix that works exactly as I need. However that list must be a Sortables. I'v...

How to perform validation on sumbit only - JQuery Validation plugin

I want the JQuery validate plugin to only display the validation messages only upon form submit and not when the focus from a input field is lost. How do i achieve this? Right now I am following this pattern, which leads to validation after lost focus event: <html> <head> <script> $(document).ready(function(){ $("#commentForm")....

Help with calling an internal method of a jQuery plugin

I've written a plugin to highlight terms used to find a page. The source is also available. My problem is, if you look at the first link's inline JavaScript, I've made a custom textPlacement function to handle the insertion of the display bar (it looks a bit like Stack Overflow's). As you can see, I have an event handler on the button ...