jquery

Deferred loading of RadGrid and strange error in firefox

Hi all, I have some strange issues with loading of RadGrid. What I'm trying to accomplish is deferred loading user control from web service. This technique is explained on this link: http://encosia.com/2008/02/05/boost-aspnet-performance-with-deferred-content-loading In explorer and chrome works fine except, styling of a grid is not a...

jQuery language switcher?

Is there a language switcher plugin for jQuery? It just should be a dropdown menu with languages and their flags. When you click on a language, it should add a ?lang=xx to the current URL. I know it's simple to code, but then I have to search flag icons, and I'm lazy :) ...

Passing a function in Jquery / Javascript

Good afternoon people's I have built a jquery plugin that I use on my site. The plugin is for suggestive input boxes and works fine. One thing I need to add to it is the ability to pass a function in it's config to apply to the response of the ajax call that is made for the suggestive. I can't find anything on trusty old google about h...

Javascript error "missing ] after element list" after setTimeout execution

My thoughts at first were that this was a syntax problem, but I don't see any syntax issues. I've added debug code and that gave odd results, x is logged before jQuery('#notification') document.triggerNotification = function (type, message) { jQuery(document.body).append("<div class='push-notification push-"+type+"' id='notificatio...

Broken jQuery 1.4.2 functionality ?

This code worked prior to the upgrade from 1.3.2. to 1.4.2 and now I'm getting this error I don't know what to do with...: jQuery.ajax({ type: 'post', url: '/ajax/store/product/getAssocDetail.ph', dataType: 'json', data: { //productId: (document.location+"").split("=")[1], vehicleId: id }, success: function () {/* ...

how to add the server response message inside jquery dialog?

When I am adding data to the server it send me a response saying data is added whereas in case of data already exist in server i receive a message saying this data with name and description exist in the server.... how can I show my server response text ? edit: solved $.ajax({ url: "/#", type: "POST",...

jQuery UI Resizable in TH

Hello. I'm traying to make a table with the th's of the header resizable. Here you can see an example where I first try de resize with a div and then with a table (it works great). Then I try the resize with the th's of another table. Nothing happens. http://jsfiddle.net/UVsKp/ Can the th's be resized using jquery UI?? Thanks in adv...

How do I get IE7 to emulate IE8 ?

I am wondering if I can get an IE7 browser to render as IE8. I know this is backwards compatible by adding a META tag <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> Does anybody have any ideas? ...

How can I pass html from textarea into jQuery?

I have the following html snippet. I am trying to let a user enter some html into the textarea, then I will parse out their style block and do some things with their styles. How can I pass the html string from the #html textarea into jQuery so I can parse it? <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <title></title> ...

style.display and href value = #.

Hi, I have the following problem. I have a page that adds iFrames dynamically using jQuery. Inside of the content of some iFrames there are hyperlinks like: <a href="#" onclick="hideTestDiv();"> the function hideTestDiv does: ... document.getElementById('test').style.display = 'none'; .. in IEs browsers, this causes the ma...

Implementing reCaptcha ajax api to an exiting webform that already uses ajax

I have a signup form on my home page which uses server side validation and ajax so my page doesn't refresh while validating. When all validation is passed my page is taken to a registered.html which is a temporary page for now. Later on it will be an account area. What I want I want to have 1 last step after the actual form validatio...

jQuery click() event catch-all?

we're showing a box on the screen that I want to hide when the user clicks anywhere on the screen, including body, anchors, divs, buttons, etc... Is there a selector that can handle this for me? Or is it a case of $('body, a, div, input').click()? ...

jQuery - Return Values Matching a pattern to an Array

My form has several <p> elements which are added dynamically. This is how one would look: <p id="numbox-1" class="numbox">1</p> I need to set up a function so that when a button is clicked I get the id (the id's will be labeled numbox-1, numbox-2, etc) and the value of the p element for all of them on the page. I need to pass the ...

Drap,Drop and clone using jquery & javascript

I am new to jquery ..My req is to clone dynamically created image by on_click and able to drag that cloned object .And should be able to delete it and capture the position of that image.After trying for a week with ajax controls,now thought of using jquery. If you could suggest some article related to this will help me.I read lot of art...

accordion menu by reading from xml file

Hi, I am looking for an accordion menu code sample to load it from the xml file rather than hardcoding the file names in the mark-up. Can you please share the link if you are aware of any such menu controls? (something like the one at this link http://www.i-marco.nl/weblog/jquery-accordion-menu/. it will be nice if I can pin it to the le...

jQuery Fancybox use function to cut down code...

Hi, I'm using Fancybox to open a number of links from a menu and I wondered if there's a function to do this instead of writing out each one. I'm using: $("#linkID").fancybox({ 'padding' : 0, 'autoScale' : false, 'transitionIn' : 'fade', 'transitionOut' : 'fade' }); And I was trying to use: $(document).ready(function() { functi...

How can i get these to fire one after another?

I've set this up all ready http://jsbin.com/ejese3/edit I have these alert messages but at present if you click on another before the current alert is finished everything goes a bit mad. What I want to do is have them queue up to fire 1 after another instead of overlapping. Suggestions? ...

How to return absolute pixel coordinates of the end of a string in a text input?

I would like to be able to dynamically insert a div at the end of a string in a text input. For example, if I have a text input... MyInput: <input type="text" name="myInput" value="" /> ...and in their browser someone types... MyInput: Here is some sample input I would like to generate the div immediately after the word input. D...

Reloading URL with GET variable in Jquery

I'm trying to reload a page with an appended variable in the URL, deviceID. It shows up in "realtime" div just fine. What am I doing wrong?: document.getElementById("realtime").innerHTML = "<pre>"+JSON.stringify(msg)+"</pre>"; var obj = jQuery.parseJSON(JSON.stringify(msg)); var deviceId = obj.deviceId; var p...

Trying to find a jQuery image preloader

Hi, I am trying to find a working jQuery image preloader that plays well with the Marcofolio slideshow (here http://www.marcofolio.net/webdesign/advanced_jquery_background_image_slideshow.html). The same slideshow is being used on the Philadelphia website here: http://www.visitphilly.com/ - but when I use my web developer tools to view...