[jQuery] which autocomplete plugin ...?
I'm looking for a stable autocomplete plugin. Of the various autocomplete plugins available, which are most commonly used/most stable?
[jQuery] Validation Plugin: Validating newly added dom objects
I have a form which will allow users to duplicate sections of the form at will. For example there is a traveler section; to add a new traveler you click a button which duplicates (it really just appends) that section to the previous section. The problem I am having is that the plguin does not prevent my submit if there are errors in the new section, only in the sections that were available when the page was initially loaded. I am running the validator function again in hopes that it will overwrite
[jQuery] AJAX success callback fail, with jquery.form.js
Hi, Dear group user I'm tring to build a ajax paginator, here is my code: $(document).ready( function(){ var opts = { target : '#id-search-result', url : '/query/', success : paginator_hook, }; var form_id = '#id-search-form'; function paginator_hook(){ $('div.paginator a.ajaxpage').click( function(e) { $(this).parents('div.paginator').html('loading...'); $.ajax( { type : 'GET', dataType : 'html', url : $(this).attr('href'), success: function(data){ $ (this).parents('div.paginator').html(data); },
[jQuery] Problems with tablesorter
I have a little problem with tablesorter plugin node has no properties [Break on this error] return node.innerHTML; line 147 Because mi table is inside another table (old layout) and this error aoccours but in other page when i load by ajax and set the tablesorter this works and the both have the same estructure =/ -- []´s Jean www.suissa.info Ethereal Agency www.etherealagency.com
[jQuery] select all unchecked checkboxes
Hi! I want to get all checkbox items that are not checked. I use the following to get all checkboxes that is checked but now i want to get the ones that are unchecked, how can I do that? $("#myform input:checkbox:checked") Thanks! /Niklas
[jQuery] [To Klaus] tabs plugin suggestion
Klaus, I've got a page which has two parts, a side bar, and a main content container. The main container is tabbed with your excellent plugin, but the contents of the sidebar must also vary in-line with the tabs. What I've done is given the tab <li> elements IDs like 'action-tab', and the <div> elements IDs like 'sidebar-action-tabcont' so that with onShow and onHide handlers for the tabs I can show and hide the relevant tabs. The one problem with this is that these handlers are not fired for any
[jQuery] TreeView with "Checkbox Tree"
Hi Folks I am looking for this: <a href="http://www.blueshoes.org/_bsJavascript/components/tree/examples/example3.html">http://www.blueshoes.org/_bsJavascript/components/tree/examples/example3.html</a> I want insert Checkbox in my treeview. Is it possible with JQuery? Regards Mário Moura
[jQuery] jcarousel Ajax txt file with Thickbox
Hi, I'm trying to have the new version of jcarousel load dynamically by a txt file in addition to having the loading pictures to open in thickbox. There are examples for 1 or the other and I've been trying for that last day to merge the 2 somehow. The past version had an example of how to merge the two but it doesn't work with the new jcarousel. Has anyone done this and willing to share the code I would be forever in debt. Or if you can give me some pointers on what I need to do. Thanks in advance,
[jQuery] IE6 Show/Hide List Height Issue
I have a div that holds two additional divs that each contain a list you can show and hide. When you show the second list (All link), IE6 cuts the list in half and adds a substantial amount of white space. Any thoughts on why this is happening? And yes, the DOCTYPE needs to be HTML 4.01 Strict. Demo: http://64.13.206.202/ie6ListIssue/
[jQuery] [Announce] Confirmer plugin update
Hi, all! There's a new release of the Confirmer plugin: Plugin description: "Confirmer implements a novel approach to the process of confirming an action. Normally this is achieved via a yes/no dialog box or a button with a "confirm" checkbox next to it. The Confirmer plugin instead sets up a single button which changes to a "confirm the action" state if it is clicked one time. If the button is clicked again within a specified time then the action is confirmed, otherwise it times out and returns
[jQuery] UPDATED: jQuery moreSelectors plugin adds :color() :colIndex() :hover and more
The jQuery moreSelectors plugin has been updated for jQuery v1.1.3.1. For example: "DIV:color(red)" to match DIVs with red text. Also matches #rrggbb and rgb(r,g,b). "TD:colIndex(1)" to match table cells in column 1 (allowing for colSpans too). "SELECT:modified" to match SELECTs that have been changed. "*:blur" to match form element that last had the focus. - jQuery Plugin page: http://jquery.com/plugins/project/moreSelectors - Download: http://www.softwareunity.com/sandbox/JQueryMoreSelectors/ -
[jQuery] Form plugin returned data
Hi, is there a way how to access XMLHttpRequest (it's headers) returned after submiting ajaxForm? Now it only returns responseXML/responseText ... Thanks
[jQuery] Figuring Type of Selected Element
Hi, I am running an each loop on a group of child elements and then doing something to them. Only, I want to treat tables differently. How can I find out that what type the selected element is? Type as in, is it a table or a div or a span... Thanks, Gurpreet
[jQuery] JQuery plugins won't work in IE on this page only
If you look at the following page you'll see that the photonews letter works fine in IE (loads newsletters in Thickbox) and also work for all the other pages that use it... http://kadampa.org/en/centers/kmc-france/ Except for this page on which neither the accordion or thickbox work in IE. http://kadampa.org/en/centers/kmc-brazil/ Any ideas why?
[jQuery] problem opening carousel items when page loads :)
hi to all! I have been a special easing script and I have added a onclick event on the images, and now when the page is still loading the images if I click on link inside the carousel it will do what the onclick event is doing, but if I wait for the page to load all the images it won't... my onclick event is nothing more than a XMLHttpRequest which shows the picture in a previously hidden div, but it uses another javaclass... I know it's hard to say if you don't see the code, but I was wandering
[jQuery] Can we define error/success conditions in $.ajax
Hi friends, The $.ajax method takes callback functions for success, error... scenarios, and calls them as and when required. But, this success/error conditions are defined internally by jquery based on the http status codes and such. It would be more useful if we could specify what determines success and error condition (overriding the default of jquery). This way, application specific error conditions can be handled more gracefully. I found that mootools allows us to specify such a condition, and
[jQuery] Opening external links in a new window
Is there an easy way to do this that does not require you to hand code each external link? Can you write a Jquery function that does this for any link that has the string "http" in it?
[jQuery] Autocomplete.js not runs on PHP Version 5.0.2
Hello All, I found that autocomplete runs only on PHP 5.2 and higher version, Any solution in this regard. Help will sustainly an object of Appreciation B-) Cool, Navdeep
[jQuery] What am I missing from this plugin?
I am trying to make a plugin that will be used to generate a password. After many days of deliberation I decided to call it generate_password(). Now that I've got the name out of the way I'm having a bit of trouble getting it to work right. You can see the behavior here: http://www.heyareyoulistening.com/generate_password/ Clearly, I don't want both "generate" buttons to generate text in the same box. Any help is appreciated. Thanks, Chris.
[jQuery] What are most commonly-used menu plugins?
I'm simply looking for a stable menu plugin. Of the various menu plugins available, which are most commonly used/most stable?
[jQuery] Dynamically set function settings?
Hey all, I am using the innerFade plug-in, though my question could apply to any function. Inner fade takes a bunch of divs or images or paragraphs, and animates them if they fall within a class. There are certain parameters that you specify when you call innerFade into action, such as speed, fade type, etc. I would like my users to choose what the options (parameters) are for the fading effect and store these in a Database. It would be no problem to write these functions on the fly from the server
[jQuery] form attributes undefined?
In $(document).ready() I have... $("input").keyup(function(event){ var activeForm = $(event.target).parents('form'); $('div#debug').text( $(activeForm).attr('action')); }); I'm trying to read attributes of the "activeForm". I keep getting "undefined". I've tried to get the form's action, name, and id attributes. When I output the form itself... $('div#debug').text( $(activeForm).attr('action')); I get "object Object". Any insight appreciated. Thanks. -- View this message in context: http://www.nabble.com/form-attributes-undefined--tf4132949s15494.html#a11754367
[jQuery] ANNOUNCE: tablesorter 2.0 beta released!
After another late night, fixing a few bugs, the code is finally ready for it's first beta release. The main new features include: * Multi-column sorting * In-line support for setting options done via the class attribute on the TH elements. * The plugin has been re-written from scratch. * Support for rowspan and colspan on TH elements. * New widget support, more information in the docs. Hopefully this will take care of all the issues that was related to the 1.x release. The new 2.0 release can be
[jQuery] New Site and Drag/Drop Problem
<span style="font-family: trebuchet ms;">Calmont Preschool Nursery Website</span><br style="font-family: trebuchet ms;"><span style="font-family: trebuchet ms;"><a href="http://www.carlmontparents.org">http://www.carlmontparents.org </a></span><br style="font-family: trebuchet ms;"><br style="font-family: trebuchet ms;"><span style="font-family: trebuchet ms;">Admittedly, a low traffic site. :)</span><br style="font-family: trebuchet ms;"><br style="font-family: trebuchet ms;"> <span style="font-family:
[jQuery] not sure why prepend with effects not working for me
i simply want to do this ... $("#mydiv").prepend("Hello There").show("slow"); it shows up, but without the 'show' effect
[jQuery] 'Type mismatch' trying to append to XML node
Hi... First post, so be gentle... I am trying to append a new entry into an XML document. This works fine in FF but fails with a 'Type mismatch' error (line 170) in IE. By using the .toXML() plugin, the output is '<hi><DIV class="group">xxx</DIV><BUDGET _moz-userdefined=""><CAT _moz- userdefined="">xxx</CAT></BUDGET></hi>' I have tried in 1.1.3 & 1.1.2, both give the same error in IE. function loadXML(text) { var xmlDoc = ""; // code for IE if (window.ActiveXObject) { xmlDoc=new
[jQuery] jQuery Inteface Sortable functionality not working in overflow:auto
Hi everyone, As my subject message says, I'm having trouble with the Sortable functionality of the Interface plugin when I am trying to use it within a div and that div is using style="oveflow:auto". I've also tried putting a div within this div to contain all of my elements, but that doesn't solve my issue either. I simply want to sort these elements, and when i drag an element to the bottom of the div, when it begins to overflow, the scroll bar should scroll down using Autoscroll. Has anyone else
[jQuery] clueTip updates and new theme
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>Hi again,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Just wanted to let you know that I did a bunch of <SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>work on the clueTip plugin this weekend and made some progress in a few areas. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>A couple people requested that the clueTips look more like Cody Lindley's
[jQuery] Loading Javascript Dynamically (in other words, as needed)
Hello, I was wondering if jQuery can be used to load javascript dynamically, on an as-needed basis. Here is the problem I have: I want to load a page with as little javascript as possible. When someone clicks on an item that requires some javascript functionality, I want it to load a javascript function from an external file and then execute it. While there is some simple javascript I've found that can do this kind of thing by appending the script to the DOM, it can't do things in order. For instance,
[jQuery] Object variables get lost when doing $.ajax
I've written a javascript class in which there is a function which makes a ajax request. But the callback function of this $.ajax don't know the objects variables. Why is that. It looks something like this: function FileView(fbId, rootFolder, showFolders, type) { this.tmpVar = 'somuch'; FileView.prototype.choseFolder = function(folderId, type, showFolders) { alert(this.tmpVar); // displays somuch $.ajax({ type: "POST", url: "file.php", data:
[jQuery] differences between $.ajax and $.get (plz help!!!)
Hi list, i'm experimenting with jquery and xml. I really can't understand the difference between $.ajax and $.get If you bought the book 'learning jquery', for xml parsing they always use, or suggest to use (in the examples, but i may wrong) the $.get method to retrieve the contents of an xml file. Why/*??*/ if i use $.get('http://www.corriere.it/rss/ultimora.xml', function etcetera...) and try to access the 'item' text nothing happens? $(document).ready(function(){ $('#news-feed').each(function(){
[jQuery] PNGFix comments need updating
<span style="font-family: verdana;">The source code found here for the jQuery pngFix</span><br style="font-family: verdana;"><span style="font-family: verdana;"><a href="http://khurshid.com/jquery/iepnghack/jquery.iepnghack.1.4.js"> http://khurshid.com/jquery/iepnghack/jquery.iepnghack.1.4.js</a></span><br style="font-family: verdana;"><span style="font-family: verdana;">has the following example in the comments:</span><br style="font-family: verdana;"> <br style="font-family: verdana;"><span style="font-family:
[jQuery] Building up DOM tree using .append()
Hey folks, I'm optimizing one of my plugins, and I'm looking to move from creating HTML within a var and using .html() to add it to the element, to creating the elements on the fly. I've tried the below, with no luck because .append() does not accept a callback, but hopefully someone will understand what I'm trying to do: jQuery(controlbox).append('<span class="hide">^</span>'); jQuery(controlbox).append('<span class="aheader">' + settings.header + '</span>'); jQuery(controlbox).append('<div
[jQuery] Problem with getting Attributes to innerHTML
Hello to all, i have the following code: $("#ctMain .mailLink").html($(this).attr("title")+"@"+$(this).attr("rel")); This code-snippet should do the following: fetch each link with the classname "mailLink", gets his attributes "title" and "rel" and puts the values in the link as text (between the -Tags. But this fails. i just get "undefined". Has anyone an idea of getting the attribute-values of each link? Thanks!! captain -- View this message in context: http://www.nabble.com/Problem-with-getting-Attributes-to-innerHTML-tf4128321s15494.html#a11739981
[jQuery] jquery + splitter plugin problems
Hi, I am trying to get the splitter plugin to work with jquery, but I am having some problems getting it to work, so any help would be greatly appreciated. I have the following in my index.php file: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/ TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Language" content="en" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /
[jQuery] Country drop down behaves strangely
Hi Im using the following code for a country / city dropdown. when a user selects a country, the dropdown for city populates with the appropriate list i.e: UK > London, Manchester, Liverpool etc... An issue that Im seeing in Firefox but not in IE is that when I attempt to jump to a set of countries by hitting a key on the keyboard i.e: such as F to jump to France, Finland etc... the dropdown doesnt jump down as far as these countries. Ive searched google for answers but there doesnt seem to be anyone
[jQuery] IE 7/6 frozen with massive use of jquery & plugins
I have intermittent error, basically IE is frozen. I can not reproduce seems that I doesn't follow a pattern. I have developed an application with asp and I use a lot of jquery in order to do Ajax call to load scripts and pages. The structure of the application is: I have a main page with two divs: a) Menu div. b) Content div. When I load the main page I load all the java files that I will need using ajax. I use a lot of plugins superfish, validation, form, IFrame, block...etc. When user chose a
[jQuery] Drag and drop menu
I am a newbie for jquery. I am now making my personal web by jquery and I found that jquery is so powerful and lovely. Now, I want to make a draggable menu which can let user drag and drop item into the menu, just like what facebook does. It should be tidied up automatically. I want to ask, is there any plugin for jquery to let me do this easily? Thanks a lot for any help~~
[jQuery] DNN and jQuery Conflict
I've recently been brought into a DNN project where I'm trying to enlighten my co-woker(s) with the goodness which is jQuery. I'm having a problem getting the two to play nicely, together, though. I've tested both DNN and the jQuery code separately, and they work like a champ. I can also get them both to work successfully together in an individual module, but any other module that I call the jQuery from will fail with an "Object expected"; to be expected since it can't reach that script including.
[jQuery] A jQuery success story
Hi all, Nothing like a good success story to warm the spirits before the weekend (as if the fact the working week is over didn't do that enough!) I first discovered jQuery a few months ago, when looking for an alternative to YUI - which is a great library and well documented, but a little large and awkward for my tastes. I ferget what stage jQ was at but it's entirely possible it hadn't reached version 1.0. Already I could see it's potential and power - CSS and XPath selectors, chainable functions,
Next Page