jquery

What is the $ in jQuery?

What does '$' - sign in JQuery stand for? ...

How to hide a table row in jQuery?

I have a table such as this <table class="headerTable" id="headerTable"> <tbody> <tr class="hh"> <td>test1</td> <td>18,164</td> </tr> <tr class="member"> <td>test3</td> ...

JQuery - ASP.NET and JQuery

Do I need to remove code-behind *.cs files to use JQuery with ASP.NET? If yes, why should I do that? ...

document.onkeyup ported to jQuery

I'm porting some old Javascript to jQuery: document.onkeyup = function (event) { if (!event) window.event; ... } this code works on all major browsers. My jQuery code looks like: $(document).keyup = function (event) { ... } however this code is not working (the function is never triggered at least in IE7/8). Why? How to...

JQuery: Thumbs up and down rating system?

I'm want to implement thumbs up and down rating system in my web app using jquery. Please tell me some plug-in or code how to implement the thumbs up and down rating system in my website, please share links or resources. Thanks ...

Loading jQuery Dialog changes Browser viewport Focus

I am loading a jQuery UI window a few scrolls down from the top of the page. When it opens the Browser resets it's position to the top of the page. If it helps just prior to the dialog loading I am inserting some HTML into the page (html for the dialog). Does anyone know how to stop this? Edit The answer on the question guessed what...

loading external file with css intact??

I'm working on a project where the client wants to have existing pages dynamically loaded into a single page. That's no problem, but the styling is not working as it should when the pages are loaded as standalone files on the existing site. Is there a way to extract the css link from each page and have it dynamically applied to the viewe...

Fade out div over the whole site to (simulate) do a preloader with (Mootools) Jquery.

I made a page, 3 cols, tableless and css formated (as it should be). Sometimes the browser doesn't put anything in its place. So I made a fake preloader in a DIV id="preloader" and a content wrapper in another DIV id="container". First I made the whole wrapper nonexistant (not there, in opposite to visibility, that just "hides"). CSS ...

jquery ajax parse response text

Ok this is really frusturating me because I've done this a hundred times before, and this time it isn't working. So I know I'm doing something wrong, I just can't figure it out. I am using the jQuery .get routine to load html from another file. I don't want to use .load() because it always replaces the children of the element I'm load...

Jquery's ThickBox: opening an iframe with GET parameters

Hey, I tried all sorts of combinations, how can I open a page in thickbox that has get parameters in it? for example: <a href="http://www.google.com?q=someQuery&amp;TB_iframe=true&amp;height=600&amp;width=600" title"bla" class="thickbox">example 1</a? Also, are there any special things to consider while working with thickbox in a fir...

Need a working example of a cascading drop down list written in vb.net

I Need a working example of a cascading drop down list box written in vb.net for my ASP.Net MVC application. I tried converting three examples written in C# but can't seem to figure it out and I have given up. The examples I have tried to convert are found here and here. This is my first .net application so I'm a newbie. The biggest ...

cakephp with jquery .load

hi, i've got a problem, i'm using cakephp and im loading into a div a page function loadContent(targetDiv, sourceUrl) { $(targetDiv).empty().html('<img src="/gambu/img/ajax-loader.gif" />'); $(targetDiv).load(sourceUrl); } it work's ok, but in a loaded page i've got autocomplete and thickbox, and that's not workin...

Fastest way to iterate through JSON string in Javascript

Hello, I have been using $.each of the jQuery framework to iterate through a JSON string that I receive via an AJAX call. Now this string is sometimes quite huge and as a result IE6/7/8 crawl as a result. I am wondering if there is a faster way to iterate through the entire data. Thank you for your time. ...

How can I get this eval() call to work in IE?

I have some javascript that goes out and fetches a javascript "class" on another xhtml page. The remote javascript looks something like the following: (function() { this.init = function() { jQuery("#__BALLOONS__tabs").tabs(); }; }) After this is fetched into this.javascript, I try to eval it and ins...

Getting values from viewstate using JQuery?

Is it possible to get a particular value out of viewstate using JQuery.... I'm working on a custom control. It uses jquery, embedded into the control itself to manipulate the value in a text box... I need to implement a minimum and maximum values... the properties are set up in the control, and are stored in viewstate... Instead of usi...

jQuery Cross Site Fetch

Hi, I feel like this is easy but I am missing something... Using jQuery, I am trying to fetch a remote page (on a different server), capture the HTML contents, and inject that content into a hidden DIV. However, using either $.ajax or $.get results in a cross-site scripting error in FireFox. Any suggestions? Code: $.ajax({ t...

Convert JSON array to an HTML table in jQuery

Is there a really easy way I can take an array of JSON objects and turn it into an HTML table, excluding a few fields? Or am I going to have to do this manually? ...

How can I control IE6+jQuery+jQuery-ui memory leaks ?

Here's a sample page with a couple datepickers. Here's the Drip result for that: This page leaks indefinitely in IE6sp1 when I click the Refresh button repeatedly (IE6sp3+, Opera 9, Chrome2, and FF3+ seem to be good). The memory goes up and never goes down until I actually close the browser completely. I've also tried using the lates...

Getting "invalid label" error in JQuery calling a WCF service

Hi all, I'm uisng JQuery 1.3.2 and having problems with something that used to seem to work. I'm making a call to a WCF service in another domain. My call is hitting my service and getting back a valid JSON object, but I keep getting this "invalid label" error. var url = "http://.../GetEmployee?callback=?"; $.getJSON(url2,{empolyeeN...

What is your opinion of the jQuery Tools library?

Have you used the library jQuery Tools? I've seen some conflicting reviews on Ajaxian website. If you have used it, what is your opinion? ...