jquery

How to enable button when checkbox clicked in jquery ?

How to enable button when checkbox clicked in jquery ? ...

Horisontally expand jCarousel Lite carousel slideshow script on the fly

I want to build a carousel slideshow using the jQuery plugin called "jCarousel Lite" (http://www.gmarwaha.com/jquery/jcarousellite/). I have this up and running. The trick is, I want to also build a YouTube-esque "expand" button, which scales this slideshow up to fill the full width of the page. So far, using jQuery, I’ve managed to bu...

jquery clone doesn't seem to retain draggable/droppable events

Hi there, I have a row where I can drag items into it, and sort them. This all works ok. I even have a delete event on each item, so it can be removed from the row. I want an option where I can clone the row. I do this by using the clone function below: clonedrow = $("#row1").clone(true); clonedid = "row"+nextRowNumber; //nextRowNumbe...

Fancybox loading

Hi, Is it possible to init Fancybox plugin without document.ready() event ? In FF, it seems to be success but not in IE To explain : I try to init all jquery functions at bottom of my page : <script type="text/javascript"> $(".overview_picM").fancybox({ 'titleShow': false, 'transitionIn': '...

Why is my DotNetNuke page jumping to CKEditor rich text input box?

I am having a problem with this page in Firefox (Chrome and IE seem OK): http://beta.vomero.co.uk/Guestcomments.aspx When the page loads, Firefox jumps to position the rich text box (CKeditor) at the bottom of the page. I don't think this is related to the jQuery Accordion because if I add rich text boxes on other pages the same jump o...

jQuery select made with unordered list not clicking

Hello friends, I´m using an unordered list to replace the select function. I have a state and city combo where I choose the state and then it auto complete the city. A traditional select for registration. The problem is that I´m able to do the jSon stuff, but when I load the < li > into the cities I´m not able to get the click. I will ...

Jquery dont allow button to be pressed

If i have a button pressed method like this: $('#next').click(function () { }); How can i stop this method being initiated whilst its running. Say the method takes 5 seconds to run and someone clicks it 3 seconds in it breaks so i want to make the div thats being clicked unclickable while the methods running. ...

jQuery/Rails: How do I use jQuery to modify submit for multiple forms ending with unique IDs in Rails?

I have a page that creates multiple forms for each object that I had selected on the previous page, and each of these forms has the id "edit_movie_[uid]". I'm trying to get jQuery to act on submit but right now all it does is make my submit buttons nonresponsive. In my application.js I have: jQuery.ajaxSetup({ 'beforeSend': functio...

meaning of this jquery code

Hi all, I posted a question http://stackoverflow.com/questions/3560381/next-not-working and gota reply which is working fine, but can somebody explain me what exactly is going on here: $(this).closest('tr').next('tr').find("img.cc").toggle() .closest('tr').siblings('tr').find("img.cc").hide(); ...

use jquery to call gwt uibinder div element

i looking for a manual way of manipulate div element inside uibinder using jquery without using gwtQuery . is there any example? the jquery will be inside app.html that has the gwt-entry-point.nocache.js file <html> <head> <script type="text/javascript" language="javascript" src="jquery-1.4.2.min.js"></script> <script type="tex...

How do I check if the height of a div is greater than 700px, using Jquery?

Hi All, I was wondering, how I check if the height of a div is greater than 700px, using Jquery? Any help would greatly be appreciated. Thanks ...

Position element vertical center based on height

I have a div that can have various heights based on the size of the text within it. I use jquery to show it when a user hovers over an icon. I want the div to appear vertical center to that icon. I can't use the normal method of: height: 100px; top: 50%; margin-top: -50px; because I can't specify the height of the element due to the v...

Trouble with jQuery getJSON

I am using the following URI like so to pass to jQuery's getJSON. var publicVidsUrl = 'http://api.publicvideos.org/v/0/clips?callback=?'; $.getJSON(publicVidsUrl, function(data){ alert(data.length); }); ...but it is failing. While the JSON returned passes as valid in JSON lint, I am not so sure. The escaped double quotes seem fi...

onBlur event overriding jQuery UI events

I have a textbox that is wired up using jQuery UI 1.8.4 autocomplete. I have the select event wired up so when the user chooses an item from the list it calls another javascript function that issues an ajax request to save the data and update an XML document. On the same textbox there is an onBlur event so that if the user manually typ...

Using jquery remove() with id passed by variable. Possible?

This is the function function deleteItem(id) { $.post("_asyncpage.php", {id:id}, function (result) { if (result == true) { $('#'+id).remove(); } }, "json"); } So, to explain, the function receive an id, send to a page that execute random stuff on a db and return true...

jQuery validation softcode the textbox name

$("#commentForm").validate({ rules: { insurance1$ucBuildingInsurance$txtOtherReasonDescription: required } }); My current script looks like this to validate a textbox txtOtherReasonDescription.Ideally I would like to replace insurance1$ucBuildingInsurance$txtOtherReasonDescription with $() syntax so the cont...

What would be the best way to send some XML to server using AJAX ?

There is one more parameter to send with the request. So this is my code so far: $.post(url + "/SaveProfile", { xml: XML, configName: name}, function() { alert("Saved"); }); I got this error : A potentially dangerous Request.Form value was detected from the client ...

How to create Hover ANIMATION Button like this?

Please take a look at this navigation: http://beta.viewcms.info/mint/ And you can see the hover animation! How to create the exactly same hover menu like that? Sorry for bad English ...

jqgird: problems paging from an existing table

I had started another post wanting to know how to use jqgrid when you are converting a html table to grid. I've got that working. However the data is not paged. It converts table to grid, displays the pager controls and all; however it shows page 1 of 0. The data is paged only when I select a different page size from the drop-down. Why...

How to style 3rd, 4th or 5th table cell using jQuery

I know to style odd / even table cells using jQuery, but how do i style the 3rd, 4th or 5th element? <table width="300" border="0" cellspacing="0" cellpadding="0" id="Weekdays"> <thead> <tr> <td>Week Day</td> <td>Short Name</td> </tr> </thead> <tbody> <tr> <td>Monday</td> <td>Mon</td> </tr> <tr> <td>Tuesday...