jquery-plugins

jqGrid - column resize event

Hi, all I'm having a problem with jqGrid. I need to call a function when a column is resized. I have tried the following... $grid = jQuery("#list").jqGrid({ ... resizeStop: function(width, index) { alert("resize column " + index + " to " + width " + "pixels"); }, ... }); ... but the event does not fire...

'Collapse all' problem with jQuery Treeview plugin

And the problem is that after I click on the 'Collapse all' link, 'some' of the pluses and minuses are displayed opposite to what they should be: i.e. an 'expandable' node would be shown with a minus next to it. Apart from that, the tree works correctly. (Well, the 'expand all' functionality is affected, as well but I think this is part ...

JQuery validation plugin - error highlight problem

I have a form with two input textboxes, and I have included jQuery validation rules for both: <script src="../../Scripts/jquery-validate/jquery.validate.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $('#respondForm').validate({ onclick: false, onkeyup: false, onfo...

How to stop sliding if only one <li> using anythingSlider(jQuery plugin)?

I'm currently using the anythingSlider plugin, it works totally fine except when there is only one <li>. The <li>s are generated from the database so sometimes there's only one. However, the anythingSlider plugin still tries to slide through the <li>s, it works by sliding back to the first slide. Although this doesn't look great. Do...

Animation change needed on 'jQuery Common Accordion - Horizontal & Vertical'

Hi guys. I'm using this jQuery plugin: http://marghoobsuleman.com/jQuery-common-accordion If you view the demo of the horizontal mouse click version (see demos page underneath the code on the site) you'll notice that the content not only slides left but also slides / flicks downwards as well. I want to stop the downward animation but ...

how to get javascript to execute in update panel

Hi there, I have an update panel which contains a table, to which I add rows of controls on a button click. One of the controls that is added, is a user control and it is a datepicker. Inside of that user control I have a textbox, and I have JQuery which applies the JQuery UI DatePicker plugin to it thereby turning it into a datepicke...

Javascript RTE Plugin with character input limit

Is there a javascript RTE plugin which allows you to limit the input length by a certain number of characters, preferably displaying a character count as the user types? ...

how to bind and unbind third party jQuery library function?

I've create code to add table row with formfield, and try to bind the 3rd party suggestbox function the each dynamic generate formfield <script type="text/javascript"> $(document).ready(function() { $('#form1').validationEngine(); var newRowNum = 1; $(".addRow").click(function(){ var $newTr = $("#tb1 tbody>tr:last").clone(true); ...

Jquery validation: submit the form with javascript with no validation

Hi, i'm just using the JQuery validation plugin. i have the following spec: 'if the form isn't used in 10 seconds, give the user a warning, if he doesn't do anything, submit it anyway' besides the timer etc. i have this code to submit the form: timeoutId = setTimeout(function() { $("#session_expired").val("true"); $("form:first").val...

jquery.load() function not calling the jquery in embedded file

I have 2 html files : test1 and test2 test1.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <scrip...

jQuery Address Plugin - Not allowing loading ajax?

I am trying to test the jQuery Address Plugin and it seems to not allow ajax to work in the change function. I am using: $.address.change(function(event) { $('#content').load(event.value+' #content'); $.address.title(event.value); }); $('a').click(function() { $.address.value($(this).attr('href')); }); While I can use ev...

TreeTable jQuery Plugin used inside html table

I'm having issues with using the treeTable jquery plugin (http://plugins.jquery.com/project/treeTable) inside an html table. It seems that if I try to drag and drop and item my table goes away. My treeTable is within another html table i.e., It looks like it sets all of the parents TR's to be droppable. Example 4.3 (in the plugi...

How can I determine if an HTML element is offscreen?

How can I determine using jQuery that a given element is above the top of the viewable window area or below the bottom of it? This would allow me to determine whether the item was offscreen and in which direction. Ideally: var topPos = $(this).relativeToTop(); var bottomPos = $(this).relativeToBottom(); var isOnScreen = topPos >= 0 &&...

Is there a profitable way to record user actions in textarea?

I need to send bunch of commands to the server on timer - like: put(0,"hello") del(4,1) put(4," is around the corner") so I need to monitor and record all of the user input and compile/flush it on the timeout (idle), something like macros. I can record all things happening onKeyUp/onKeyDown/onMouseDown/onMouseUp using textarea curso...

cascade plugin help

Hey all, i'm using the jQuery plugin Cascade with the ajax call and was wondering if there was a way to run javascript after the ajax call is complete? thanks, rodchar ...

Adding reverse highlighting to the jQuery image map plugin?

I'm using the jQuery Map Hilighter plugin, but instead of fading a dark patch over each area, I would like to reverse this and instead make the surrounding area dark, keeping the hovered area the same colour. I've looked at the code for the plugin and it appears to use the canvas element (and an MS equivalent I guess) to do the highligh...

Why isn't the jQuery Color Picker Plug-in working for me in Firefox?

I am trying to attach a JQuery color picker plug-in to a textbox. The same code works in IE 6 & 7 but does not in FireFox. I see no errors or warnings of any sort it feels as if the plugin code is just being ignored. <script src="/colorpicker.js" type="text/javascript"></script> <script type="text/jscript"> jQuery(function...

Pre-requisites for JQuery.

I am using Aptana Studio 1.5 for PHP development. I want to use a JQuery plug-in. I want to know whether there are any pre-requisites for using JQuery or is it same as JavaScript? ...

Lavalamp Jquery, Hightlighted option

Hello, How can i make it so when the user clicks an option in my lavalamp menu the permanent "highlight" is transfered to this link, i.e like a standard menu bar when a user is browsing a site. Sorry im not quite brilliant at explaining please tell me if you require more information ...

jquery tolls list with overlay & scrollable list .. issues..

hi there i'm relatively new to jquery, but i wanted to see if anyone could provide me with any insight on this. what i've got here is an autoscrolling list, with overlay functionality.. http://www.freestylemovement.com/secret/3.html what i'm trying to achieve is a scrollable function like in this example, except i like using the lis...