jquery-plugins

JQuery Plugin Website

Is there a website that lists all of the publicly available JQuery plugins? Also, are these plugins usually open source or do some people charge you money to download them? ...

how to check if a jquery plugin is loaded

Is there any way to check if a particular plugin is available? Imagine that you are developing a plugin that depends on another plugin being loaded. For example i want the jQuery Validation plugin to use the dateJS library to check if a given date is valid. What would be the best way to detect, in the jQuery Valdation plugin if the dat...

jquery plugin for preventing entering any input not matching a regexp

does jquery have any plugin that prevents entering any input to a textbox that doesnt match a regexp pattern. for example , i have a textbox for entering payment amount, i want user t be able to enter only numebers and . in the textbox, all other input wont have any effect on the textbox.. thanks ...

Post your short extension functions goodies for jQuery

In a similar vain to the c# extension topic on SO It would be great if we could pull together a whole host of useful jQuery function extensions. Please Note the idea is to have short snippets of code not full blown well known plugins or ui widgets ...

JS/JQuery Image transition effects - blinds?

I'd like a transition effect between 2 or more images. I know that simple transitions can be easily done in JQuery, especially with the Cycle plugin, but I want something more complex. Like this, although it's a poor example. A 'blinds' style effect where you can see one image through the other as it changes. I hope I'm clear. I really...

jQuery Validation plugin: how to check if an element is valid?

A little bit of context: I'm using the jQuery Validation plugin to validate a sign-up form. I now want to implement an ajax call to check whether the user name is available in the system, and I want to make this ajax call only if the userName value is a valid one as per the rules set in $(form).validate(); I want something like: $("#u...

JQuery DatePicker, how to highlight current input value date?

I'm using the datepicker control for jquery and all is well except that I cannot get it to highlight the currently selected input value (or the current date for that matter). Even though I have s valid date value in my text input and can get the datepicker to return the correct month / year, I cannot get it to highlight that date on the ...

jQuery Lightbox with proper back button support

After running some usability tests, I found that participants opened a jQuery Lightbox to view larger images. Then rather than clicking the 'close' button they simply hit the browser back button. That sends them to the last page rather than closing the lightbox. Does anyone know a jQuery photo gallery that supports the described back bu...

Jquery Live Validation

Hello Everyone, After having a search around I could not find exactly what I want, I am looking to validate a form client side using the Jquery library and some form of validation plugin. I was hoping that some one could advise me on whether there are any validation plugins out there that do not use generic error messages, as my form ...

jQuery masked input plugin. select all content when textbox receives focus.

This is a followup question to this question: select all contents of textbox when it receives focus (Javascript or jQuery) basically I am using a textbox in conjunction with the jQuery masked input plugin When the masked input textbox receives focus i want to select all of the contents of that textbox, but it seems as though having th...

jQuery UI Dialog validation without using <form> tags

http://bassistance.de/jquery-plugins/jquery-plugin-validation/ looks to be the best jquery validation plugin out there. I can't seem to get it working in the jQuery UI dialog though. This code works outside of the dialog DIV: <script type="text/javascript"> $(document).ready(function() { $("form").validate(); $("a").bind("cli...

Using jTemplate with ASP.NET MVC

In this article, Dave Ward describes how to use the jQuery plugin jTemplate to create what he calls a "client side repeater", that parses JSON data into a template on the client side. Toward the end of the article, he suggests that the template is placed in a separate file with the extension ".tpl", and that the data is loaded into the ...

CSS Table Cell Background Image Text Overlap

I'm using the Tablesorter Jquery plugin to sort a table, but the images background images specified in the stylesheet fall behind the text on columns in which the actual content of the column isn't long enough to push the column width beyond the length of the header text. For an example, go here: http://tablesorter.com/docs/ and then sh...

How would I modify this replace/regex from jquery.autocomplete so it only bolds the first match?

I don't know enough to change the following so that it only puts <strong> around the first found string matching the term: highlight: function(value, term) { return value.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)(" + term.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\]){1}/gi, "\\$1") + ")(?![^<>]*>)(?![^&;]+;)", "gi"), "<strong>$1</stron...

Do you have any security concerns when it comes to JQuery plugins?

Hello all, I am curious as to what, if any, security concerns other develpers have in regards to the use of JQuery plugins. I have seen very little talk about security where JQuery is concerned. Is it really a non issue? Appreciate your thoughts! ...

Creating A Javascript Calendar (Full, not pop up)

I'm having some difficulties creating a javascript appointment style calendar. While it does render, I know there's go to be a much more efficient way of doing it. Does anyone have a pattern they use for creating calendars? I will be using jQuery, but I don't want to use someone's calendar plugin as a) I haven't found one that works for ...

Your Favorite JQuery Controls & Plugins

I'm still getting into JQuery. One of the most attractive elements is the plethora of available plug-ins and controls! Of late, I've been a big fan of the Accordion. When styled and combined with some of the better animations it looks great. I've also just been introduced to the coda-slider, which also does an great job. Help me learn!...

Passing jquery selector to sub-function within a plugin

Hi There I'm trying to make a quick jquery plugin (as a learning exercise) for making a simple pager from a list of items (LIs in this case) and have run into a problem when passing the current selector (this) to a sub-function. The code is below. The problem is when creating the dynamic nav (the plugin requires jquery 1.3) and I need...

jQuery: form returned on "success" needs re-binding

hello. a quick question. I am using the jQuery.forms.js plug-in. I have a form that posts to a php page and returns data with jSon. The data that is returned is code for a new form (it replaces the form that was used to post the information). The new form is not bound to any jQuery functions, as it was not around when the page loaded...

jQuery Flexigrid Resize columns in IE7 broken

In firefox, column resizing works fine. But in ie7, it's broken. Here's a thread about flexigrid broken from jquery 1.3, I've tried the suggested edits to the flexigrid code, didnt work. We're currently using jquery 1.3, although i've tried 1.3.1 & 1.3.2, neither fixed the problem. While inspecting the css in ie7, I noticed <div clas...