jquery

How can I reduce page reflows when using JavaScript widgets?

A lot of JavaScript libraries have user interface widgets. Usually they are created after the page is loaded. The user sees a page re-flow and parts of the page shift around or change appearance. How can I reduce the amount of reflowing that occurs when a page loads, especially if I’m using several widgets? Here’s some examples. These...

Anyone tell me why this Jquery doesn't work in IE?

The following code works fine in FF chrome etc but not IE, anyone know why? Basically everything works accept the replacement of the image attribute $("#container #main_image img#largeId").attr({ src: largePath }); Even the rest of the function ie the swapping classes works, just not the image replacement. The full example can be see...

Using Google AJAX Feed API Feedcontrol, I need a callback

I'm actually using the jQuery Google Feed Plugin to manually add some feeds to my site. One feed includes a photobucket album which I'd like to provide a preview of each image. I can't find a callback for the FeedControl class in the API documentation. Is there an better way to do this other than using a settimer? ...

intiate a jquery method when enter button is clicked on an input text box

I am trying to call a jquery function which is intiated when the user clicks enter button on an input text control .The return value is an url which will be used to redirect to a different page.The code given below is not working.Please help Thks <script type="text/javascript"> $(function() { $('#Text1').keypress(function(e) { ...

Jquery uploadifiy realtime update

How can i send some parameters, that they aren't defined when the page loads, i have a select box, and i also need to send to php, the selected value.So here my code var _data = $('#art:selected').val(); $('#art').live('change',function(){ $selected = $(":selected",this); id = $selected.val(); _data = id; }); $('.vla'...

(Javascript) Working with Prototype, multiple jQuery related libraries...?

Hi All, I've seen a million different posts and (as odds would have it) a million different answers regarding how to include multiple jQuery libraries/plugins along with unrelated libraries/plugins. My main concern are the ones that require jQuery themselves. Basically I'm using Prototype, jQuery, jQueryUI, and jQuery.dropshadow.js. ...

javascript onmouseout applied to div fired by children

Hi I'm having trouble finding a solution to this via google but I would have assumed it would be quite a common problem. I have a div which I have applied an onmouseout event handler to (the handler is used to roll a menu up using jquerys "slideup" function, as I would like the menu to be hidden when the mouse leaves). Problem is that t...

Is Greasemonkey not capable of using jQuery's full power?

Hey guys, I'm trying to find an element using jQuery, but it is not working.. I found out that this kind of selector can't be done in Greasemonkey: ($("#app7019261521_hover_container > [id^=app7019261521_the_coin]")) Please help me translate this into raw Javascript. This kind of selector is hardcore to do in Javascript. Please help ...

Need javacript sorter (pref. jquery) that doesn't clone elements

So far I've tried Tiny Table Sorter, Tables on Cows, Sorttable, and Yoast's Sortable-table plugin. I have the last one currently installed on a test page here. I finally don't get a conflict w/ the qtip script I'm running on the same page. I understand that the conflicts arrive from a sorter that uses cloned elements. Unfortunately, the...

jquery - go to next table row based on class name from current row location?

I can get the current row using this code. The "this" is a link in a table cell in the row. $currentTR = $(this).parents('tr'); These next two lines can do the same thing, get the tr after the current row. $nextTR = $(this).parents('tr').next(); $nextTR = $(this).parents('tr').next('tr'); If I output $nextTR.html() I see what I...

jQuery commercial legal questions

Hello, The company I am working for is developing a web application layer for a commercial software product. My questions have probably been answered before but I have searched and I can't find a similar scenario to my question. The Web UI will be developed using jQuery and involve using the excellent pre-built plugins other users have...

Close multiple DIV elements with a jQuery function

Hi. I need a small function for jQuery that would close multiple DIV elements, but I'm having trouble with JS syntax. I got this far: function closePanels{ $("#servicesPanel").hide("fast"); $("#portfolioPanel").hide("fast"); $("#contactPanel").hide("fast"); $("#aboutPanel").hide("fast"); }; Sounds logical to me: That...

Is there a jquery selector extractor akin to the xpather firefox extension?

Firefox has an Xpather extension that allows one to inspect html and extract xpaths. Is there something similar to extract jQuery selectors from html? ...

[jquery] automatic form post data

Hello, I have a form with lots of data to be posted, so i was wondering if there is any way to get all the data to be posted automatically. like for example i sent data this way $.ajax({ type: 'post', url: 'http://mymegafiles.com/rapidleech/index.php', data: 'link=' + $('#link').val() + '&yt_fmt' + $('#yt_fmt').val(...

Jquery, Ajax form and redirection

Ok, I need to use ajax for some fancy pop-ups and validation things but I want to avoid javascript redirect if everything is ok in form. Here is the basic-simple scenario. We have dynamic site and some user login form. Al logic (does user exist, is password ok etc) is on a server side. Server pseudo code look like this: $username,$p...

jQuery content switch and fadein plugin?

Hello, For a project I would like to make a content banner that would switch between several "slides" (containing html, images etc). The "slides" are div elements. The slideIn effect used by jCarousel isn't what the guy wants, he wanst it to fadeIn/fadeOut the "slides" with each "slide" shown for 7 seconds. Anyone know of a plugin that...

Consuming Zend_Rest_Server response with jquery

Is there is standard way to consume Zend_Rest_Server response with jquery? I have a simple web service that I need to invoke and process result with ajax, preferrably JQuery. I assume I can parse xml response somehow, but that doesn't look like a mature solution. ...

jQuery Autocomplete with JSON

Is there any currently-maintained jQuery Autocomplete plugin that accepts JSON input from the server? ...

CSS Overflow Question

Hi, Im using the coda slider. if you dont know the coda slider, the overflow-x position is hidden until a tab is clicked. The animation slides the hidden div in from the right or left. If you scroll down one of the panels, and click the tabs at the top again, it slides the tab over, but it doesnt change the overflow position. What I w...

Automatic Request to a web Page

Hi, i m trying to implement this thing , that when ever a person opens up a page an automatic request goes to some server . i m doing this with ajax by calling a function on onload event of body .. but it is giving me Access Restricted to URI 1012 error .. then i used jquery .. and used its post() method .. now it is giving me 403 Forbid...