jquery

jQuery Validation plugin: disable validation for specified submit buttons when there is submitHandler handler...

Ok, I am using umbraco forum module, and on the comment form it uses jquery validate plugin. The problem is that I have added a search button on the same page using a UserControl, the search submit button triggers the comment form submission validation. I have done some research, and added the 'cancel' css class to the button. This bypa...

How can I make js that needs manual input dynamic?

I don't really know how to ask this, so I wrote up the script here: http://jsbin.com/acaxi/edit It's pretty straight forward, I'm trying to create sliding panels. I know there's alot of scripts that does that good, to be honest there are too many. If anyone thinks there is a plugin you could recommend instead of my script then please d...

jquery radio button click event problem

Hi, I have the following code in jQuery for a set of radio buttons which all have the same behaviour on click (they show some hidden fields). I was previously duplicating the same code for each individual selector, so i just used multiple selectors as in the code below. However, this doesn't really work, as when a couple of the radio but...

Jquery JSON .each() doesnt work in Google Chrome

I have a really simple chat application on a site which works pretty good. It requests by ajax like this: $.ajax({ url: "fetch/"+CHAT_SESSION_ID+"/"+LAST_MESSAGE_ID, dataType: "json", cache: false, success: function(data) { if (data.session_active == 0) { //If other chatter ended session alert("Session Ended"); } ...

jQuery UI datepicker will not display - full code included

I am having trouble displaying the jQuery datepicker as shown here: http://jqueryui.com/demos/datepicker/ I believe I downloaded all of the proper files, but to be certain, I started from scratch and ripped the demo site. Not all of it, but what I believed to be the important parts. The result is no datepicker to be shown and no javas...

Global "ajax call" notification with asp.net mvc/jquery

I need to be notified any time a largeish asp.net mvc web application makes an ajax call to the server. We're using both jquery, and the built-in Ajax.* methods to do the remote calls, and I would like a global way of knowing when we make a call without having to manually inject some sort of "IsMakingCall" method to every request. The r...

jQuery's attr - return multiple classes not just the 1st.

Given a div such as: <div class="widget block dock clock">yada yada</div> I'd like to be abe to use JQUERY's $(div).attr('class'); to find all the classes, but the JQUERY.attr only return widget. Is there a way with JQUERY to return all the classes defined for the element? Thanks ...

integrate / build 'weather radar' widget

I'm looking to integrate a 'weather radar' widget into a site I'm building. The only available resource I can find is: http://www.meteoonline.co.uk/gadgets/Europe/Netherlands/135 which basically delivers a flash mov in a iframe ! urrrgh! - and 'permission denied' of course with any javascript interaction on the iframe.. Can anyone s...

How to select a dynamic datepicker instance in order to extend it with jQuery

I'm trying to control positioning of a jQuery datepicker element. I like the solution offered at http://stackoverflow.com/questions/1818670/how-to-control-positioning-of-jqueryui-datepicker for overriding the _checkOffset fn: $.extend(window.DP_jQuery.datepicker,{_checkOffset:function(inst,offset,isFixed){return offset}}); However, t...

How do I add a hover effect in Balsamiq Mockups?

I know that Jquery has a .hover function, but I can't seem to figure out how to implement it in Balsamiq Mockups. Here is what I am trying to do: I am creating a mockup for hulu, called Bulu and I am trying to have the channels menu slide down when I hover over the channels button, here is the code I have buluchannels ; $("#buluchanne...

Base64 problem with jQuery Async Treeview

In my ASP.NET MVC app I'm using jQuery Treeview with Async node expansion to build a tree of Active Directory objects. I'm encoding id's of each node with Base64 due to request length issue. For example in response for http://devel.local:49210/Domain/LeafExpand?root=source I get the following: [{"text":"DC=anusiewicz,DC=pl","id":"REM9YW...

how to make jquery grid column as readonly?

hello friends I need to make one column as readonly in jquery grid.. can anyboydy help me out.. thanks.. ...

vs10 intellisense for jQuery

I'm not able to get intellisense to work with javascript/jquery code in vs10. Not even getting highlighted opening/closing bracket and parens, much less autocomplete. In VS08 we had to install a patch to get intellisense for jquery. VS10 doesn't need that patch to support -vsdoc files. There was a bug in 08's intellisense that, if any o...

Can jQuery perform a compound select against the top level only? (a.k.a. "How to avoid chaining children")

Basically, is there a way to write a.children('.outer').children('.inner') without the intermediate selector? I can't write $('.outer > .inner', a) because I don't want to do full-depth search against a — I know that the .outer elements are immediate children of a. It's partly a matter of "elegance", but partly because I'm tryin...

jQuery resize width on firefox

I'm doing some experiments with jquery n widths for a liquid column and I'm not sure why it isn't working on firefox. It works fine on IE6,7,8 Chrome, Opera(sluggish). I found some articles about firefox not recognizing the .resize attribute but no explanation/solution =\ $(document).ready(function(){ $(midCol).width((window,$(window).w...

Creating a javascript function to switch classes between list elements depending on which one has been clicked.

I am trying to create a function to change the class on a series of 5 list elements depending on which has been clicked. The goal is to change the style of the element depending on which one is the current element. I had tried something like this: function addClass(obj) { obj.className="highlight"; } and then added this to my elemen...

Jquery Accordion and Fading

I am trying to create a jquery accordion that fades the header of the accordion out when the page is loaded then fades it in when the mouse hovers. The accordion also opens when the mouse hovers. I am able to get all of this working, the problem I am having is when the accordion opens the header moves away and the mouse is no longer on i...

can I hide the perticular column in jquery like this?

I am hiding the entire column in the grid like this? // $('#Grid tr th').each(function(column) { // if ($(this).is('#div.id')) { // hide(); // } // }); can I do like this? thanks ...

How to view soap request based on webservice url?

I need to call SSRS Report WebService using jQuery ajax request. Since the ssrs webservice is SOAP based and considering the example shown for "calling share point web services using jquery" I think I need to pass a soap envelope. Based on the ssrs webservice url how can i find out the soap envelope required by a particular method? (ex...

update dialog title for each click

Hey guys I have a quick question, I have a dialog box that has multiple links with different attributes. Each time a link is clicked, the attribute src is printed inside of the dialog box so that each link has a unique output in the dialog. My problem is simply that only the first src title is in every box and I would like to change that...