[jQuery] Autocomplete like Google suggest?
Steven... That's almost exactly what I need. Is it a pretty simple thing to change the delay on the entry so that it feels a little more responsive? Also, the list being returned doesn't seem to be sorted. Is your search actually "live", using AJAX? It appears to be based on the icon on the right side of the text field (GREAT idea by the way). I'm looking to do a "WHERE column LIKE 'myVar%'" search, it appears that you're doing a "WHERE column LIKE '%myVar%'" search. Am I correct? I've already got
[jQuery] jQuery equivalents
Hi, are there jQuery equivalents to the following expresions? if( element.nodeName.toLowerCase() == 'select' ) { ... } if( element.type && element.type = 'checkbox' ) { ... } For the first I tried $(element).parent().is('select'). While it works, I think it's much slower. The same applies to $(element).is('[@type=checkbox]'). jQuery encapsulates lots of browser bugs, thats why I'd like to use jQuery ways, mainly because I can currently only test on IE6 and FF 1.5 -- Jörn _______________________________________________
[jQuery] Release: jQuery form validation v.0.1
Sort of. That still forces the form WAY down the page. Now the user not only has to fix errors, but has to scroll to get to them. :) I'm really just nitpicking. It works great...I just think that the presentation could use a little help. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On
[jQuery] selecting parent div from an id
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.3790.2666" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=635422115-17072006><FONT face=Arial size=2>Hello,</FONT></SPAN></DIV> <DIV><SPAN class=635422115-17072006><FONT face=Arial size=2></FONT></SPAN> </DIV> <DIV><SPAN class=635422115-17072006><FONT face=Arial size=2>I'm trying to make an parent div visible by giving it an id
[jQuery] plugin tableSorter, problems resolved?
Added a new test script, here: http://motherrussia.polyester.se/jquery/_dev/tablesorter/update/ Found a bug in one of the sorting functions (a typo), hopefully this will now work FF mac & safari. Any luck? /christian -- ------------------------- Christian Bach Polyester HB Wittstocksgatan 2 115 24 Stockholm Tel: 08-6607350 Mob: 070-4439190 http://www.polyester.se _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] selecting parent div from an id
Thanks for the quick reply, but I'm afraid that doesn't work. The div isn't parent element of the input. There is also a form and some other elements before the but I need the first parent div it encounters.. -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of poni Sent: maandag 17 juli 2006 17:31 To: jQuery Discussion. Subject: Re: [jQuery] selecting parent div from an id $($('#fieldname1').get(0).parentNode).show() _______________________________________________
[jQuery] selecting parent div from an id
Hi, I have multiple hidden div's on the page, that's why I need to find the parent div.. Tim -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On Behalf Of kenton.simpson Sent: maandag 17 juli 2006 17:33 To: discuss@jquery.com Subject: Re: [jQuery] selecting parent div from an id this should work $('div:hidden').show(); -- View this message in context: http://www.nabble.com/selecting-parent-div-from-an-id-tf1955331.html#a53 62966 Sent from the JQuery
[jQuery] Autocomplete like Google suggest?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-2"> <META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=562171915-17072006><FONT face=Arial color=#0000ff size=2>Why thank you.</FONT></SPAN></DIV> <P><FONT size=2><!----------------//------<BR>andy matthews<BR>web developer<BR>certified advanced coldfusion programmer<BR>ICGLink, Inc.<BR>andy@icglink.com<BR>615.370.1530 x737<BR>--------------//---------></FONT>
[jQuery] Autocomplete like Google suggest?
I don't even know how to use this code G. By typing something and waiting a few seconds, I found a list of items beginning with "test". But because they all start with the same 4 letters I can't really "test" how the code works. Any chance of adding in some random words for testing' sake? <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com
[jQuery] Toggle Div
I have the a page where I'm trying to use .toggle on a div. Everywhere I've tested works fine except IE. $(document).ready(function(){ $("p.advanced a").click(function(){ $(this.parentNode.nextSibling.nextSibling).toggle(); if(this.innerHTML == "[+] Advanced") { $(this).html("[-] Advanced"); } else { $(this).html("[+] Advanced"); } }); }); The markup: </div> <div id="content"> <h3>Header1</h3>
[jQuery] Excellent Javascript (Re-)Introduction
Thanks Nesta (and the original poster). I'm looking forward to reading this. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Nesta Campbell Sent: Sunday, July 16, 2006 2:54 PM To: fatalis.erratum@gmail.com; jQuery Discussion. Subject: Re: [jQuery] Excellent Javascript
[jQuery] Autocomplete like Google suggest?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-2"> <META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=656554213-17072006><FONT face=Arial color=#0000ff size=2>Okay...</FONT></SPAN></DIV> <DIV><SPAN class=656554213-17072006><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV> <DIV><SPAN class=656554213-17072006><FONT face=Arial color=#0000ff size=2>Found that thread,
[jQuery] Autocomplete like Google suggest?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-2"> <META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD> <BODY> <DIV><SPAN class=593503813-17072006><FONT face=Arial color=#0000ff size=2>I remember that one. I'll search for it. Thank you Dragan.</FONT></SPAN></DIV> <P><FONT size=2><!----------------//------<BR>andy matthews<BR>web developer<BR>certified advanced coldfusion programmer<BR>ICGLink,
[jQuery] plugin tableSorter, with large data sets.
Hi All, I just completed a demo for the tableSorter plugin with large data sets. The current demo has around 500 rows and 6 columns to sort by. The demo is available here: http://motherrussia.polyester.se/jquery/_dev/tablesorter/ It even has a small benchmarking "output", so if any one is up for it, please reports your figures back to me. For me sorting a column takes about 1.5 sec. More features, to come! Best regards Christian _______________________________________________ jQuery mailing list
[jQuery] Interface sortables
And another issue that's giving me grief is that it seems like the iSortables component intercepts click events, so my previous click event on the image in my li no longer works.<br clear="all"> -- Yehuda Katz Web Developer (ph) 718.877.1325 (fax) 718.686.4288 _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Interface sortables
I'm trying to do an interface sortable on a fairly complex set of li's. Each li looks like this: <pre id="line157"><<span class="start-tag">li</span><span class="attribute-name"> class</span>=<span class="attribute-value"> "applet"</span>> <<span class="start-tag">div</span><span class="attribute-name"> class</span>=<span class="attribute-value">"applet"</span>> <<span class="start-tag">div</span> <span class="attribute-name"> class</span>=<span class="attribute-value">"applettop"</span>> <<span
[jQuery] CSS Formatting Guidelines
This is an interesting effort, but couldn't the discussion be moved to the CSS list? http://www.css-discuss.org/mailman/listinfo/css-d It would be highly relevant there, and you would get feedback from a variety of CSS experts and novices alike. -Mike _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] CSS Formatting Guidelines
Hey all, I've been tooling around with something for a long time that I wanted to share with the group for feedback. Essentially, it's a set of formatting guidelines for writing CSS: <ul><li>The order of selectors </li><li>The order of identifiers</li><li>Commenting</li><li>Lined up text</li></ul>There's a bunch of stuff in it, but basically it came out of having one too many CSS sheets that became way too difficult to navigate as site development got complicated. Some of the stuff in here is probably
[jQuery] JQuery with Google AdSense
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Helvetica, Arial, sans-serif">There seems to be a problem with JQuery in IE6 when implementing on a page that contains Google AdSense code. I am using this function to Show/Hide content $(document).ready(function(){ $("#older").hide(); $("#button").toggle(
[jQuery] jQuery and Selector problems
Is it possible that a jQuery selector would work in one browser and cause another to error. In IE when using the selector \root\* it crashes, but not in FF or Oprea. The error occurs in jQuery line 582 Rev 130 IE6 reports Wrong number of arguments or invalid property assignment. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] plugin tableSorter, soon to be released, new demo available.
Just put together a new demo, available here: http://motherrussia.polyester.se/jquery/_dev/tablesorter/ Don't forget to clear your cache! Changes: Removed sortStart, and sortEnd, will be adding John's event.trigger. Added parser for ip. Added parser for url. Added a temp param disableHeader that takes column index. Improved sorting speed a little more :) I'm pretty near a full release, probably at the end of next week. So if you have any features that you would like to add, please let me know. Best
[jQuery] Concern about linking to jQuery source from jquery.com
> I modified the Wiki-Tutorial page:
[jQuery] append() and TEXTAREA
I've previously used append() to add text to a TEXTAREA. I noticed (at least under FF 1.5) that the jQuery append() function would cease to add text to the textarea if you give the textarea focus (click on it), add some text, and then run the append() function. So then I tried using html() with the same result. TEXTAREA's however are linked to .value, and obviously using jQuery's val() would overwrite any existing text. So, I got around this by using basic DOM scripting shown below; var str = '[['+($("#field").val())+(($("#default").val()
[jQuery] plugin tableSorter, with large data sets.
IE/PC. Sorting email: 1.438; resort: .313 Sorting address: 1.297; resort: .343 Sorting id: 1.282; resort: .344 etc. My computer is fairly new (fast). With older computers you might have a noticeable delay. I suggest some sort of progress indicator so that people know it's processing. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com
[jQuery] fadeIn: text anti-alias
On my site, made-electric.com, I wanted everything to fadeIn when the page fires: $(document).ready(function(){ $("body").fadeIn("slow"); }); Really simple, and it worked just fine. The issue I had was that any text below 12px rendered rather jagged after the fadeIn - as if it was no longer being anti-aliased. I work on a Mac, and checked Safari, FF, & Camino. Those 3 browsers consistently did the same thing to the text. I've since changed it to slideDown, and there's no problem. Weird! Not a
[jQuery] Simple question
Hi guys, I'm newbie with Jquery, I have a little problem: this is the html: <ul id="eip_linklists"> <li><p class="eip_title">Lorem ipsum<div class="eip_xnav">Lorem ipsum</div><li> <li><p class="eip_title">Lorem ipsum<div class="eip_xnav">Lorem ipsum</div><li> <li><p class="eip_title">Lorem ipsum<div class="eip_xnav">Lorem ipsum</div><li> <li><p class="eip_title">Lorem ipsum<div class="eip_xnav">Lorem ipsum</div><li> <li><p class="eip_title">Lorem ipsum<div class="eip_xnav">Lorem ipsum</div><li> </ul>
[jQuery] Concern about linking to jQuery source from jquery.com
> > So, what would be a simple way for me to check if jQuery
[jQuery] miniTaco yet another taconite port
It also crashes in IE6. I think it goes back to line 345 in minitaco.js jQuery("/root/*", x).each(function(i) {... I'm not sure my selector query is correct. I'm trying to get the childNodes of the root element. Funny that work ok for FF so it might not be it. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Concern about linking to jQuery source from jquery.com
In the jQuery tutorial it states to link to the jQuery source via the latest.js on <a href="http://jquery.com">jquery.com</a>. My concern is that using this on a production live site and the possibility of <a href="http://jquery.com"> jquery.com</a> site being down or offline. I plan on using jQuery for the main website of the college I work for, and can't really afford for the app to not function properly because of <a href="http://jquery.com">jquery.com </a> being offline for whatever reason.
[jQuery] miniTaco yet another taconite port
I have been working on a jQuery plug-in that was inspired by and uses some code from Mike Alsup jQuery port of taconite. All thou it handles the parsing and interpertation of command tags a bit differently. Most XML command tags do not have a handler method, but are more like alias to jQuery functions. It all so supports callback events like onbegin, onstartaction, onerror, oncreatenode, and more. Please let me know what you think and offer ways to improve the design. Thanks Mike for allowing me
[jQuery] Query crashes browser
I think this should be nice to have a simple query validation in jQuery. Browsers (IE and FF) crashes when running invalid queris like this: $('*[@id="sss"') Thanks. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] each method
> > > I used to use this.f2() to call f2 from f1() but inside each
[jQuery] New plug-in: Farbtastic (color picker)
Announcing Farbtastic. It's an elegant color picker that uses only transparent PNGs, CSS and JavaScript and presents a full HSL (not HSB) color space. I wrote this a while ago, but the code was rather ugly and it didn't work in all situations. So I updated it to work with jQuery and fixed (hopefully) all the bugs. I've tried to make it as jQuery-ish as possible. Demo, source and docs at: http://www.acko.net/dev/farbtastic I did have severe problems getting the mouse handling to work right. I haven't
[jQuery] each method
Hi folks, I have an each method with a function, inside which I want to access parent's object methods. Here is an example: MyObj.prototype.f1 = function() { $("p").each( function(i) { this.f2(i); // here is the problem } ); }; MyObj.prototype.f2 = function() { alert(i); }; I used to use this.f2() to call f2 from f1() but inside each function, this refers to the currently selected element. _______________________________________________ jQuery mailing list
[jQuery] Updated plug-in: highlightFade
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6617.47"> <TITLE>Updated plug-in: highlightFade</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=2 FACE="Arial">This is an update to the highlightFade plugin I announced a few days ago. Demo available at </FONT><A HREF="http://jquery.offput.ca/highlightFade/"><U><FONT COLOR="#0000FF"
[jQuery] jQuery Animation
I've written the following plugin, but it's failing on the latest SVN. Is this a bug, or have I made a wrong assumption about the animate function? $.fn.positionTo = function(speed,o,callback){ var l = o.left || "0px"; var t = o.top || "0px"; return this.animate({left: l, top:t}, speed, callback); }; ~Sean _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] New Plug-in: highlightFade
Blair,
[jQuery] plugin tableSorter, with large data sets.
Wow... What sort of puter are you running Jason? Those are great figures. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of Jason Yeckel Sent: Wednesday, July 12, 2006 10:25 PM To: jQuery Discussion. Subject: Re: [jQuery] plugin tableSorter, with large data sets. Sorting
[jQuery] ThickBox +php
Hi: This is my first post here, so be gentle. I looked at the code for ThickBox and thought why are two images (large/small) required to make this work? Both can be provided from one image via a php thumb script, so I added it here: http://www.xn--ovg.com/a/thickbox I hope this isn't some brain dead thing that everyone says "Duh? We knew that." In any event, if anyone wants the code, just ask. tedd -- ------------------------------------------------------------------------------------ http://sperling.com
[jQuery] Multiple Thickbox
I think it might be cool to have a "popup" which has 2 or 3 windows which can talk to each other. That might be really fun. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. andy@icglink.com 615.370.1530 x737 --------------//---------> -----Original Message----- From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On Behalf Of DaveG Sent: Friday, July 14, 2006 3:04 PM To: jQuery Discussion. Subject: [jQuery] Multiple Thickbox
Next Page