jquery-plugins

Apply zebra striping to jQueryUI accordion

I have a asp.net mvc app building a accordion based on the jQueryUI Accordion plugin - I'd like to apply zebra striping. Here's the constructor loop: <div id="accordion"> <% foreach (var webinar in Model as IList<Webinar>) { %> <div id="accordionItem">//toDo: Programmically pick odd/even rows ...

Calling other plugins within a jQuery plugin.

In order to clean up my code i want to use sub-plugins within my actual jQuery plugin, but actually there is nothing happening. thx in advance As an easy example, please take a look at the following code: (function($){ $.fn.funct = function() { // so far it seems to run the code... console.log('funct is running...'); ...

Multi form submit in the page with ajaxform()

how to get the parent div id of current submit form with the ajaxform plugin I am not having any problems with the success state Thank you. below is my code. <script type="text/javascript" charset="utf-8"> $('.formsubmit').ajaxForm( { beforeSubmit: function() { // here want form parent div display loading.. var id = $(this).pa...

Lazy load values in paginated datatable using jquery

Hi, I'm trying to use the jquery datatable plugin in my project. It supports ajax loading of values in the table. But my question is does it support lazy loading of value? means If the table is paginated, can I load data required by each page using ajax when it is requested than load all the values at the startup of the page? Now what ...

"setting a property that has only a getter"-problem with firefox

So far i was using Safari 4 for testing and debugging my current jQuery Plugin, but as i tried my code out in Firefox it started to complain about something within the JQuery-Framework: "setting a property that has only a getter". I tried to find out wich line exactly causes Firefox to complain and found out that this happens somewhere h...

jQuery tablesorter sorting not working

I'm using jQuery tablesorter plugin to generate dynamically a table from a csv file, and that part is working fine. However whenever i try to sort the table by clicking on the table headers, firebug reports this problem in the console: parsers is undefined return parsers[i].type;\n Initially i though this problem was being caused by t...

ByPass jQuery Plug-in OnClick Funtion

Hi, I am using the following jQuery plug-in, i.e: http://flowplayer.org/tools/scrollable.html The issue I am having though is that, as part of the call to the api, it seems to make us of the onClick() function within the plug-in js file. I actually want to use the onClick function as your normal javascript onClick() function but I am...

jquery dropdown checklist plugin documentation

I am trying to implement a dropdown checklist, unfortunately I just can't find enough documentation for implementation. Has anybody used this plug-in before?, and if so, do you know of any site with the proper information for it's use? ...

Jquery Innerfade Not appearing correctly in ie 7 and below

Im building a website with a jquery header that fades one picture into the next (as you have all seen before). Take a look at a sample page here: http://hqinternetsolutions.com/fullservice/index.html In IE6, the images shift way over to the right creating a margin. I figured out what is causing it. In the jquery.innerfade.js file, the...

jQuery watermarkinput plugin POSTs watermark values to server

I'm using the jQuery watermarkinput plugin to place hint text inside text box input fields. When the page POSTs back to the server, the watermark values are POSTed as the input box values. How do I prevent the watermark values from being POSTed? ...

jquery with boxy plugin - load and submit a form via ajax

I am using JQuery with Boxy plugin. When a user clicks on a link on one page, I call Boxy.load to load a form onto the pop-up. The form loads and is displayed inside the pop-up without problems. However, I can't bind the form to a submit event, since I can't select the form element. This is the event handler: $('#flag-link a.unf...

jquery ajax post callback - manipulation stops after the "third" call

EDIT: The problem is not related to Boxy, I've run into the same issue when I've used JQuery 's load method. EDIT 2: When I take out link.remove() from inside the ajax callback and place it before ajax load, the problem is no more. Are there restrictions for manipulating elements inside an ajax callback function. I am using JQuery with...

jQuery Tools - Scrollable PlugIn Questions

Hi, I am using this plugin with one pane been shown at a time and I have those little circles on top to navigate through each pane. If I have three panes within my carousel, so therefore against each of these little circle buttons, it assigns 0, 1 and 2 as href values, how can I get access to these href index values when I click on eac...

jQuery Scrollable Plugin - Removing specific Carousel Panes

Hi, Can anyone who may have used this plugin at: http://flowplayer.org/tools/scrollable.html know how to go about actaully removing a carousel pane from the carousel group. As an example, if I have 5 carousel windows - how can I programmatically remove the carouosel window 2? Any help would be much appreciated. Thanks. Tony. ...

jquery functions within Fancybox

I'm using fancybox to load up some inline content on a web page. Fancybox loads up fine as do the images, the only problem is that I would like certain jquery functions to work within the modal window which will not load up. The jquery functions work fine when I load them outside of fancybox so was wondering if anyone knows how to call...

How can I make xVal work with my extended Html.ValidationImage?

I have extended the ASP.NET MVC Html Helper to include my own ValidationImage that outputs an image rather than the standard tags. Details are shown within the StackOverflow Question: How do I extend Html.ValidationMessage so that I can include an image as the error? I would like this to integrate well with xVal now. What would be th...

using a variable in :contains - how to

I am using accordion menu on an e-commerce site. The menu stays open with the options until the product page. On that page I am trying to use the breadcrumbs to match text in the menu and then apply a class to open the menu to the correct category for the page. Here is my code: $(document).ready(function(){ var bctext = $('#ProductBre...

Uploadify plugin

Has anyone used this plugin? I don't know if my setup is right, but I think so.. $(document).ready(function() { $("#uploadify").uploadify({ 'uploader' : '/extra/flash/uploadify.swf', 'script' : '/admin/uploads/artistsphotos', 'checkScript' : '/admin/uploads/artistsphotos', 'cancelImg' : '/images/cancel.png', '...

Applying AddMethod() to validation function

Hi I am new to jquery, I am trying to validate a group of checkboxes[] using the validation plugin. After searching the internet I came across this AddMethod( ) which seems to resolve the issue of checkboxes, but I can not find any piece of code that explains how to apply the new method name to the validate(). Here is my code of w...

calling fancybox using jquery .click function

I am trying to customise fancybox so that when one of the 4 images displayed on the page is clicked, this is the one that loads up in the fancybox window. To do this I want to use the jquery .attr function to pass the image src (as a variable) to the main image holder. My current jquery code is: jQuery(document).ready(function($) ...