jquery

DWR and Jquery into spring MVC 2.5

Hi, From my shallow reading, Spring MVC does not support jquery directly. It does enable integration with DWR framework. From my understanding of DWR, it is an ajax framework that allows you to call javas methods from javascript. Can I use both in my application? With Jquery handling most of the javascript code and client side inter...

jQuery Custom Gallery and jCarousel problem

Active site can be seen here: http://www.studioimbrue.com/index2.php There are currently two small problems with the coding. First: when the page loads and you attempt to click on one of the large images to advance, nothing happens. Once a thumbnail is clicked, the click functionality of the large image comes available. I'm trying to fi...

jQuery detect current thumb and scroll jCarousel accordingly

Another thanks to SLaks for helping me get the code this far. I'm not quite sure if my last step is even possible with the way I have things set up. A live version of the gallery can be seen here: http://www.studioimbrue.com/index2.php Currently, everything works appropriately. The image and its thumbnail are currently tied together, ...

Jquery and Hide a div on a click

hello, i have a little problem with JQuery. Well, i have a and i want to hide this div when an user click in a zone that is not in the like the "notifications" behavior in facebook. The solution that i found is to use jQuery.live() method but i think there is a better way to do it. Thank you. ...

Javascript playing a video - what am i doing wrong?

I think the code is self-explanatory, the button doesn't work, what am I doing wrong? Using Chrome. http://jsbin.com/ugoni3/edit ...

Clash between map hilight and fancybox modules in Drupal

Both of them are jquery modules. If I install either of them, it works fine. But if I enable both of them at the same time, neither of them works ... I suppose there is a clash between them. Any thoughts? ...

What jquery book you would recommend for a beginner?

I googled for some books on jquery and i got these Jquery Books from learningjquery.com and some video series from net.tutsplus.com and certainly some tutorials from Learningjquery.com for beginner... But still a good book would do a lot in my learning... Any books that you would recommend for beginner in jquery to have a crack at it? ...

jQuery basics - selector

I feel dumb.. Why is my "header" div not being selected? Its background color is not being changed. I am learning about the + operator so I am not looking for a different selector. E + F : an F element immediately preceded by an E element In this case the div tag is immediately preceded by the div with id divA but it is not selected....

Questions about jQuery's getScript()

$.getScript("somescript.js", function() { alert('Load Complete'); }); Once loaded, is it cached or is it loaded again if referenced more than once? If an event depends on this file being loaded, will the event be delayed of fail/timeout in case the file takes longer to load or doesn't load? How do I check and do something in case ...

JQuery error: XML filter is applied to non-XML value (function (E, F) {return new (o.fn.init)(E, F);})

I am getting this slightly cryptic error message: XML filter is applied to non-XML value (function (E, F) {return new (o.fn.init)(E, F);}) when I run this code snippet function justDoIt(arg){ msg = arg.msg; if(arg.ok) jQuery.(".action-button").each(function(idx,el){jQuery(this).removeClass('enabled');} ); } arg is a ...

Organizing multiple embed codes with jQuery

I have several embed codes on my website, for example: Embed Code #1: <object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/f8Lp2ssd5A9ErAc&amp;hl=en_US&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="...

Jquery Datepicker not selecting the default date

I have my datepicker set up like this $("#scheduled_date_163").datepicker({ onSelect: function(dateText, inst) { jQuery.get("/tasks/inplace_edit?id=scheduled_date_163&class_name=Task&value=" + dateText, function(data){ $('#scheduled_date_163').html(data); $('#scheduled_date_163').removeClass('hasDatepicker'); ...

JQuery - Slide Example

Hi All, I want to perform a simple slide motion on an HTML element. JQuery is already available on the site in question so the next logical step for me was to look at their documentation. JQuery - Slide down When I check out their demo however, it doesn't seem to be functioning. In firebug they have an error; missing ) after argumen...

remove cross in the dialog jquery

I dont want the cross for closing the dialog box to appear in the dialog box im creating. How can I do that? Also, if on clicking on the cross in the dialog I want to have destroy and not close, how can I do that? ...

jQuery noobie can't make a checked checkbox show an alert.

I found this answer before, to fire an alert if the button is pressed but the checkbox isn't checked. Why won't this work? I have this in the head <script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt; And this in the body: <input value="1" type="checkbox" name="salgsvilkar" ID="checkbox2" style="float:left;" ...

jQuery multiple class selection

I am a bit confused with this: I have a page with a set of buttons (i.e. elements with class attribute 'button'. The buttons belong to one of two classes (grp1 and grp2). These are my requirements For buttons with class attribute 'enabled', when the mouse hovers over them, a 'button-hover' class is added to them (i.e. the element t...

Symfony admin generator datetime picker

How can I use a jQuery datetime picker in the symfony admin generator? ...

Jquery help needed- infinite loop?

Hi all, i have a problem with this code: var par = []; $('a[name]').each(function() { if (($(this).attr('name')).indexOf("searchword") == -1) { par.push($(this).attr('name')); $('.content').empty(); for (var i = 0; i < par.length; i++) { $(".content").append('<a id="par...

Disable all form controls on a web page

What is the nicest way to disable all form controls on a web page? I have read that this cannot be done via CSS but this would be my preferred option if possible. I also have access to jQuery if that makes life easier. ...

Colorbox make the light box fixed when scrolling.

hi, I working with jquery colorbox. When the page content is big and colorbox is opened. Then the color box scrolled along with the page content. I want the colorbox need to be fixed even the background content scrolls. Please help me out to fix this issue. ...