jquery-plugins

Jquery form validation plugin, how to select dynamically generated input elements to validate?

I am using Jquery form validation plug-in to validate inputs within a form before submitting, there are some input elements which are named as "question1”, "question2", "question3",..., they are dynamically generated. So how to validate these input elements within the Jquery plugin function validate()? I need a means to select them first...

Javascript syntax for objects in jquery

I am trying to enhance my page with a jquery right mouse menu, but am having trouble building the correct structures to populate it easily. Currently my page contains (among other things) a list of items for the user to review. (an html table) Based on the users role, and the current state and context of the row, the user may take one o...

Categorized results – jQuery autocomplete plugin

Hi there! I'm looking for an autocomplete plugin that makes it easy to categorize search results. If that's unclear, take a look at Apple.com's search bar (top right). I know that script.aculo.us' autocomplete widget provides similar functionality, by allowing you to wrap text in a [span class="informal"]. Every class="informal" elemen...

newbie jQuery plugin issue

Hi- I'm just getting into jQuery plugins and I wanted to do a sort of 'hello world' exercise with a barebones object-oriented plugin template. But I can't get the console.log statement in the setup() function below to display in a firebug console window. I call the plugin like so: <script type="text/javascript" src="myPlugin.js" > <s...

How to change a class based on the date using jQuery

Hi, I'm creating an advent calendar and I need a piece of jQuery/Javascript that will change the class on a div based on the date. I need all previous days to have one class, the present day one class and future dates one class. This is my source code: <div id="container"> <div class="box nov28">...</div> <div class="box dec1">....

livequery for detecting dom changes

How do I detect the changes in DOM like innerHTML updated etc using JQuery's livequery. I tried like below Script - var matched = function() { alert('detected'); }; var unmatched = function() { alert('removed') }; $('div#container').livequery(matched, unmatched) HTML - <BODY onload="setTimeout(function(){ document.g...

Help solving jq.imghover1.1 problem when container for images is absolute positioned!!

I'm working in a site with the plugin jq.imghover1.1.js for jquery. The plugin works great almost in any circumstances, but I did a position:absolute for a div that contains the images that will be affected by the plugin and now when the plugin fade the hover images in, they do it far to the right of the original button. The Code: <htm...

Bug in video gallery ,jquery...Please help

I am not able to fix the bug in this file.I cant paste code here cause its too lengthy for every one to work on it.. so im posting this rapidshare link (file size is just 740kb) Whats the problem: Open the html file and click on any image, and that will be displayed in the right side div.I tried to do the same for the video but i do...

JQuery Validator Plugin

I have managed to implement the validator on a form, and is working fine for all my needs apart from a crucial last one. Does anyone know how I would go about (or whether it's even possible) to extend or create a validation message that is purely a warning but still allows the form to be submitted (i.e. the field is still valid). To il...

how to increment jquery ui datepicker programtically

Basically I want to take date from one field and then increment day and set it to another date field. This is kind of psuedo-code: var date1 = $( '#date1' ).datepicker( 'getDate' ); var incrementDate = date1 + 1 //increment day $( '#date2' ).datepicker('setDate', incrementDate ); Any help appreciated... ...

jQuery TreeTable root node expander image is hidden in IE6, why?

In IE6, the expander graphic for the root node in the table is not showing up. If I position the mouse in the correct spot next the the root nodes text I can actually click the expander. The expander does show up for all child nodes. The odd thing is the examples at the TreeView site show the root expander image in IE6. I can't see t...

Calling a jQuery plugin without specifying any elements

Say I have the following jQuery plugin: $.fn.myPlugin = function () { //plugin code } Normally, you call a plugin on a certain number of elements, like such: $("body").myPlugin(); Is there any way I can call my plugin without specifying an element? I have tried calling it like such: $.myPlugin();, but that does not work. Wh...

JQuery validation plugin - custom validation for group of html elements

I have a set of combo boxes on a HTML form which act as a Date control: <div id="datecheck"> <select id="datecheck_y" name="datecheck_y"> <option value="2009">2009</option> <option value="2008">2008</option> <option value=""></option> </select> <select id="datecheck_m" name="datecheck_m" > <option valu...

Image Uploading and Previewing with Jquery

Hi Everyone.. Does anyone know a good plugin to upload and preview an image using jquery....? I've been googling this for a long time and still can't find any....!!! Thanks and Regards... ...

jQuery json/html template rendering plugin

I'm looking at possible approaches to rendering json data received from an Ajax call into HTML tables. I don't want to recreate the table tags and rows each time so a templating seems like the best solution. Besides 'PURE' plugin/library (http://beebole.com/pure/), is there another option that would work for this purpose? ...

Customise JQuery EasySlider plugin numeric output menu to use text string instead?

Hello, I'm using this plugin: http://cssglobe.com/post/5780/easy-slider-17-numeric-navigation-jquery-slider Demo: http://cssglobe.com/lab/easyslider1.7/02.html Maybe somewhere in here can be altered? if(options.numeric){ for(var i=0;i<s;i++){ $(document.createElement("li")) .attr('id',options.numericId +...

JQuery plugin for lazy-loading/lazy-evaluation?

Is there such jQuery plugin? More specific: I want to use some elegant and easy way to postpone some code execution until it's really needed (some event happens). And when this event happens, the postponed code should get executed only once. Some kind of lazy initialization. For example, apply some animation to an element not when docu...

Jquery Tablesorter custom date

Hi, I'm trying to setup a custom date parser but can't get my head around it. Basically my dates are in the format mm/yyyy. Can anyone point me in the right direction? Thanks ...

Page widget or plugin that does the 'Recent Activity' effect on foursquare.com?

I like the 'Recent Activity' effect on http://foursquare.com/. The top activity pushing all beneath. Is there a JQuery plugin or widget I can readily use which does the same? (I am a lazy developer so please no 'you can develop this yourself' responses) ...

Jcalender newbee question

Anyone knows how to set the date with this calender? http://tedserbinski.com/jcalendar/index.html I must be stupid cause I cant manage to do that ;/ ...