jquery-plugins

jQuery removing repetition in multiple Colorbox method calls

Hi, I needed some advice on how i can remove the repetition in my current project. I have several colorbox dialog windows which are of the same size, have the same transition etc when they are called but perform different jquery manipulations, AJAX calls etc when they have completed loading. Currently they are all in their own seperat...

How to sort a html table by dates in textfields ?

I am using DataTable Plugin for html table sorting. It is working fine. Now I have a column with Dates(d/m/Y) in textboxes. Sorting on that column is not working. I want to make this sortable by date. First I applied the following code to make textbox sortable. Table with 3 fields: <script type='text/javascript' charset='utf-8'> ...

Using Facebox as a Confirm()?

i would like to make a modal-confirm that acts like an confirm() but looks nicer :) im using Facebox for other things right now and would like my confirms to have the same design http://defunkt.github.com/facebox/ Is it possible to do this in some way? ...

Implementing a graphical select list using icons via jQuery or other

I am implementing an HTML form. For one of the fields (weather) the user must choose one of a set of options (sunny, cloudy, rainy, etc.) So basically I'm looking for a nice replacement for <select> or <radio> that provides a series of images (that I will provide) for the user to select from. I'll create dulled/greyed versions of each...

jQuery DataTables Plugin Not Alphabetizing My First Cell Column

Everything is working nicely except upon load and sort clicking for the "Product" column, it's not alphabetizing the column. Instead seems like it's grabbing the URL from the anchor href and sorting it that way. Any tips on sorting it by using the content in between the ? I'm fine with tossing a in there for easier targeting via js. ht...

jQuery grid plugins that support continuous scrolling with on-demand lazy loading, instead of page navigation buttons

I'm currently considering various jQuery grid plugins, found through a mixture of Googling and looking at previous questions on SO. I specifically want to avoid the traditional "page navigation buttons" syndrome. I want the scrollbar to be able to move the user through the entire data set, and for the plugin to asynchronously request mo...

select multiple files to upload in ASP.NET (preferably without flash)

Hi, is there a solution that allows to select multiple files from the file open dialog box and upload them from ASP.NET web page? I have gone through previous posts related to this, but wondering if it is possible to select multiple files for upload without using the technologies like flash or silverlight? thanks in advance. UPDATE: to ...

how to trigger the click event without clear default click event on jstree .

using jstree, i use the next code to Trigger click , but , i can not see the defalut click event, like : the blue background when i click , this is my code : <div id="wrap"> <div id="header">header</div> <div id="main"> <div id="demo1" style="float:left;width:50%;"> <ul> <li> ...

What's a better method for triggering a load() event on cached images?

I'm working on a script that waits for content to load in a hidden div before activating a thumbnail that points to it. $('#preload img:first-child') .bind('load',activateThumb) .each(function(){ if(this.complete || this.complete===undefined) $(this).load()}); The each part triggers the load() event for images in the cache. I ha...

Localization question of jQuery Alert Dialogs

Hi all: Our legacy system use http://abeautifulsite.net/blog/2008/12/jquery-alert-dialogs/ as alert dialogs. I want to localize the text of button on $.prompt(...), which is "Close" by default. How can I do that? Thanks. ...

jQueryUI Date Picker showing on form submit in Google Chrome

Hi, I am using the jQueryUI Date Picker on one of my forms and if you select the field that I have attached the datepicker to, then select a date, then click "Submit" it should submit the form - which it does in IE but not in Chrome. In Chrome, it re-opens the date picker and I have no idea why. I've put the following on pastebin to s...

Sort masonry jquery plugin script

trying to sort the masonry jquery plugin like vgrid plugin heres the test page http://syndicutsite.syndicut.com/index2.htm what i want to do is when the filters are clicked is sort the items so they alternate by there height. in the vgrid plugin they have this code , any ideas how i can add this to masonry 'vgsort: function(func, ea...

Access to selector from sub function?

Let's say I've created this plugin: $.fn.my_namespace = function() {} with level 1 sub functions: $.fn.my_namespace.category_func = function() {} and level 2 sub functions (actual application): $.fn.my_namespace.category_func.app_func() { alert(this); alert(this.selector); } Execution: $('div').my_namespace.category_fun...

jQuery jqPlot defining x-axis as quarterly segments when data is retrieved and recorded daily

Hi, I was wondering if the following scenario is possible in jqPlot. The chart i need to build has y-axis displaying price data and x-axis displaying time series data. The data will be retrieved on a daily basis but i would like the display along the x-axis to be in quarterly segments so Q1 conatins all daily data from 01/01/2010 to 3...

jQuery slideToggle, show/hide speed

Is there anything in jQuery that allows you to specify the speed of a show/hide effect (as opposed to its duration). Thanks. ...

remove appended html

$(function() { if(map_flag == 0) $("#buttons").append('&nbsp;&nbsp;<input type="button" value="Import" class="ui-state-default ui-corner-all" onclick="javascript:import_q();" />'); }); function upload_1() { $("#buttons").val(''); $("#buttons").html('') } In upload_1 function how to remove the ...

jQuery validation plugin

I am using the following for a custom message for validation failure but I am getting the default message...What is wrong? or am I missing something? I get the default message ...but not my custom message $("#commentForm").validate({ rules: { insurance1_ucBuildingInsurance_txtOtherReasonDescription: "required...

jQuery frame animation plugin does not work

I am attempting to use the jQuery Frame Animation plugin and cannot get it to work even in the simplest of tests. I have tried to break it down as simply as possible and still cannot seem to get it to work. Here is a test where I'm referencing the files from the demo and I still can't get it to work: <html> <head> <style type="text/c...

JQuery timer : is it advisable to use it?

JQuery timer : is it advisable to use it? or is it better to use Javascript native timer? Jquery timer example ...

Jquery datatable pagination

In the below code ,the html loads up and will call group_map set python function.My question is that there is pagination enabled in the system so if a user in page 3 deletes a entry the page reloads and brings back to page 1.How to make the user stay on the same page after deleting an entry Datatable used is from http://www.datatables....