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...
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 ...
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...
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...
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 ...
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...
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?
...
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);
...
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...
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">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<scrip...
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...
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 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 &&...
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...
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
...
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...
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...
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?
...
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
...
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...