jquery

Is it a fact that a smaller jQuey plugin (in KB) will perform better than same plugin with the same functionality but of a bigger size?

Or does it depend on the way in which it is written? My question is related to page rendering time. Can we determine which will give better performance? Should we always choose a smaller sized plugin? ...

How to select all elements except the ones with a given class, using jQuery ?

I want to select all elements in my page except those with the class "searchBox". How can I do that? I want to disable text selection on all elements except input elements ...

jQuery to Ext conversion

What's the equivalent of $('#id.class:input') in Ext? Or is there? ...

How to handle a JSON response with jQuery

I am able to send data to the server using JSON and get back the appropriate data, but before I handle the returned data appropriately I am just trying to output the returned JSON data as an alert. I cannot understand why this is not working. I do get an alert but the text value says "undefined" - I am not sure what I need to do to eith...

building a query string with jquery and checkboxes

Hi I'm building a search form with several filter options on the results page. It's a basic search form, results show in an friendly url such as: domain.com/resuts/country/age/type/ The filters are simply checkboxes which on click, should reload the page with a query string to identify what has been checked/unchecked. (there is no sub...

selecting an element immediately after append - Jquery

I have appended a div with an id div1 and immediately, the next line aims at appending contents to this div. Its not selecting. Whats going wrong? $('body').append("<div id ='backFade' style='background-color: Black; left: 0; top: 0; width: 100%; height: 100%;min-height: 768px; position: absolute; -moz-opacity: 0.7; filter: alpha(opacit...

jquery fade, remove, then next step

I have a table and i am wanting to fade the row out, then remove it (which is working fine) after it is remove, i am summing up all the columns and updating the total that bit isn't working. it is summing up before the row is removed how do i make this run synchronisly ? $("#tr_invoice_" + id).fadeOut("slow", function() { $("#tr_i...

trigger jquery click

Hello everyone, I use jquery to build treeview via ajax which has refreshed automatically every 5 second. And I want after building the tree, one of the branches to be selected automatically. But when I use $('#treeview li span.Running').click(); nothing happen. I catch the click event using $('#treeview li span').live('click',function...

jquery 1.3.2 with jquery-ui-personalized-1.6rc2.min.js

I am using http://james.padolsey.com/javascript/inettuts-with-cookies/ to show the widgets in user's dashboard as igoogle. This plugin is not supporting with the jquery 1.3.2 and jquery-ui-personalized-1.6rc2.min.js. But it works fine with the older jquery version 1.2.6. Does anyone faced this problem? How can i make it to work? ...

How to show "back to top" button using jquery only if browser height is shorter than page?

How to add/show "back to top" button at bottom in a div using jquery only if height browser height is shorter than page, other wise it should be hidden? <p><a href="#mainwrapper">Back to top</a></p> to this <div id="mainwrapper"> <p> Paragraph 1 </p> <p> Paragraph 1 </p> <p> Paragraph 1 </p> <p> Paragraph 1 </p> <p><a href="#mai...

Pass entire form as data in jQuery Ajax function

I have a jQuery ajax function and would like to an entire form as post data. We are constantly updating the form so it becomes tedious to constantly update the form inputs that should be sent in the query. ...

jqGrid with multiselect: event for clicking top checkbox only?

Is there an event available which one can handle when clicking the checkbox in the header of a jqGrid? I tried the onHeaderClick but that doesn't seem to be the solution. ...

Methods and practices of making an URL hash

My application uses ajax and refreshes some parts of a template. Now I need to make an URL hash containing some variables that will be used for refreshing a page after a page is loaded that contains a hash. Now I need a javascript procedure for making a hash. How to serialize variables? How to encode that serialized string? I'm usi...

Jquery Autocomplete clear textbox if no match found

Hi All, I am using Jquery's autocomplete plugins to show smart search textbox in my application. To get better Idea plz refere following url http://docs.jquery.com/Plugins/Autocomplete Now what I want is, When user goes on typing in the textbox respected filter result get append to the textbox which is fine. If the user types charact...

JavaScript SRC path not working

Hello! I have searched this web looking for an answer, but it seems that this time I'm not so lucky, so I am forced to ask. I apologize if it's already answered (could not find it). And yes, English is not my first language, so I also apologize for my spelling mistakes, I try my best. This is my problem, using Tomcat 5.5, Struts 1.3, J...

Need a jquery/flash carousel

Help, I'm getting desperate now. I've been searching the web high and low, but I can't find thats close to what I'm looking for. I need a flash or jquery module that will display X number of images (3 in my case) and hide the rest. The center image is the focus image, to the right would be your next image and to the left would be the p...

jQuery lightweight tooltip script recommendation

I am looking for a lightweight jQuery script for tooltips that is lightweight and can be easily used with image maps... Ideally it would automatically take the 'title' of each the area tag to function as a tooltip. The reason this is an issue is I have hundreds of areas (its a world map) and a line of code for each tooltip will soon add ...

Flex, JS libraries like (JQuery, YUI, Prototype) or Silverlight, JavaFx ? ? ? What should we go for ?

If any one want to start developing new web application with real cool and reliable UI, good throughput, maintainability, scalability which one can be the winner ? Also which one can be the winner in case we are migrating age old sites with new look and feel? ...

using chain.js for complex templates and images?

Hello, I'm researching the possible use of the jquery plugin chain.js over other templating systems such as jTemplate. the site is a large online retailer. We have a category page showing a large list of products, dresses for example. A user can click on a link on a nav bar te refine the results based on attributes such as colour, size...

accessing jquery cloned element

iam doing something like this var _orgElm = $(this).clone(true); _orgElm.customResize(); $.fn.custumResize = function() { return this.each(function() { // problem is here // when i apply this function an element, it reads width correctly. //but when i do this on elements clone it...