[jQuery] Re: Ajax .load confusion

2007-04-18 Thread SeViR
This is the jQuery inside code for load function: load: function( url, params, callback, ifModified ) { [...] // Default to a GET request var type = "GET"; if ( params ) // If it's a function if ( jQuery.isFunction( params ) ) { [...]

[jQuery] Re: vars in unnamed functions

2007-04-18 Thread Evan
Assuming you mean something like this? $('someElement').click(function() { //now in anonymous function var x = 0; //do a bunch of stuff x = 2; } ); If so, yes, this is valid. On Apr 19, 11:59 am, Ariel Jakobovits <[EMAIL PROTECTED]> wrote: > so is it ok to rely on this behavior in

[jQuery] Re: Multiple form submit issue

2007-04-18 Thread Karl Rudd
My suggestion is to use a "proxy link". When the link is pressed it "clicks" the button. Something like this: $(function() { $('input.proxy').each( function() { $('' + this.value+ '') .attr( 'class', this.className ) .click

[jQuery] Re: Multiple form submit issue

2007-04-18 Thread Buzzterrier
Some designers spec links instead of buttons. I could strip down a button using css; but using an is easier. On Apr 18, 5:12 pm, "Aaron Heimlich" <[EMAIL PROTECTED]> wrote: > Why would you need to use anchors? > > On 4/18/07, Buzzterrier <[EMAIL PROTECTED]> wrote: > > > > > > > Thanks Aaron that

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread James Trix
Hi Dan I found your code examples just after posting the last message and then just used your php file as an example to copy from. I added the 31348 towns to the file and it is about 694 KB but seems to run ok. so should be able to stay with that. I just now have to work on the style sheet to make

[jQuery] Re: jQuery Powered Sites - More Sites Added.

2007-04-18 Thread Eric Orton
http://www.hippo.com.au (Hippo) We just launched a new Australian job search site using jquery, blockui, hoverIntent, interface (transfer + bounce), datePicker, defaultbutton, maskedInput and a bunch of custom bits and pieces built on top of these libraries. - jquery: mousover and click anim

[jQuery] Re: BlockUI plugin: message not centered once width or padding is given

2007-04-18 Thread Kush Murod
Hey Mike, you rock dude, :) You need to manage the margins yourself, the plugin doesn't do it for you. Try this: $.blockUI({ width:'450px;', marginLeft:'-250px'});

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread Dan G. Switzer, II
James, >Hi Dan I did try doing this in cold fusion but it looks like there is a >limit on how big your script can be as it gets turned in to a class file. I've run into some huge CF templates and never had a problem, but I can't for the life of me understand why you'd have a large CF template. Y

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Dan G. Switzer, II
Yoyo, >Well, my English is not so good so I don't know If I understand it >properly. >What I mean was something like tag autocompleting in del.icio.us posting >page. Yes, all the autocomplete field is a text field. You can enter whatever text you want. The first piece of code I implemented into

[jQuery] newb needing a little assistance - Checking if an input value is a Number

2007-04-18 Thread reactive
Hey Guys Ive had my first go at writing with Jquery, i know VERY basic JS and jquery is making life a lot easier, but not easy enough it seems So my task was to write a script to calculate a number of input fields and display the total in another input, which ive managed to do. Also it neede

[jQuery] Re: vars in unnamed functions

2007-04-18 Thread Ariel Jakobovits
so is it ok to rely on this behavior in javascript? - Original Message From: Rob Desbois <[EMAIL PROTECTED]> To: jquery-en@googlegroups.com Sent: Wednesday, April 18, 2007 1:52:21 AM Subject: [jQuery] Re: vars in unnamed functions 17By creating a function form your code which uses variab

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Jeff Fleitz
I like the second option, or Dan's method as described in a later post, where you allow the developer to pass an expression which determines whether the row should be displayed or not. I have hacked together a demo for our users using Dan's autocomplete script, which populates a select menu and u

[jQuery] Re: What does this do - transport.setRequestHeader("connection", "close")

2007-04-18 Thread Jeff Fleitz
Yeah, I found that. I was looking for 'transport' instead of 'xml'. I believe I will leave it alone as I don't think it is causing me problems. Thanks all. On Apr 18, 1:37 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Dan G. Switzer, II schrieb:> Jeff, > > >> Boy I feel like a dummy, but I ca

[jQuery] Re: Multiple form submit issue

2007-04-18 Thread Mike Alsup
Oops, yeah, you've got to pass the options arg. You could just prep it with ajaxForm and then use the submit event. $('form.photoForm').ajaxForm(options); ... $('input.btnPhotos').click(function(){ $(this.form).submit(); return false; }); That should work. Mike On 4/18/07, Buzzterrie

[jQuery] Re: Injecting JavaScript and CSS - Optimization Technique

2007-04-18 Thread Daemach
I just verified that frameReady() works perfectly with dynamically created iframes, even in IE. On Apr 18, 1:47 pm, mdelmarter <[EMAIL PROTECTED]> wrote: > Hi Markus, > > Pretty much. Here is an example: > > function getIframe($id) > { > $length = top.frames.length; > > for (var i

[jQuery] Re: Multiple form submit issue

2007-04-18 Thread Aaron Heimlich
Why would you need to use anchors? On 4/18/07, Buzzterrier <[EMAIL PROTECTED]> wrote: Thanks Aaron that worked! I would still like to get this to work with anchors, because I know I will need to do so in the future. Take care. On Apr 18, 3:59 pm, "Aaron Heimlich" <[EMAIL PROTECTED]> wrote:

[jQuery] Re: Multiple form submit issue

2007-04-18 Thread Buzzterrier
Thanks Aaron that worked! I would still like to get this to work with anchors, because I know I will need to do so in the future. Take care. On Apr 18, 3:59 pm, "Aaron Heimlich" <[EMAIL PROTECTED]> wrote: > Try this: > > Change: > > > > To: > > > > Delete: > > //create a click even and add su

[jQuery] Re: Multiple form submit issue

2007-04-18 Thread Buzzterrier
Hi Mike, Thanks for the response. When I use this method, it does hit ajaxSubmit() but my options object is void. Aaron's method works, but I know I will have a requirement to do this same type of thing, with anchors instead of submit buttons. I tested this on your formTest.html example and go

[jQuery] .change doesn't match cloned elements?

2007-04-18 Thread [EMAIL PROTECTED]
Hi, I'm trying to get flexible (array) select boxes in a form working, but i'm having some troubles with the cloned ones. The end-use idea is to auto-populate the second selectbox, after the first one has been changed. To do this, I need to match only the first selectbox ofcourse. And this works,

[jQuery] Re: Injecting JavaScript and CSS - Optimization Technique

2007-04-18 Thread Daemach
This might help, though I haven't tested with a dynamic iframe. I'll take a look at that now... http://groups.google.com/group/jquery-en/browse_thread/thread/e1b2c367f354aead/# On Apr 18, 1:47 pm, mdelmarter <[EMAIL PROTECTED]> wrote: > Hi Markus, > > Pretty much. Here is an example: > > functi

[jQuery] Interface - Sortable with Form-Elements

2007-04-18 Thread PCDConny
Hi, i'm using the Interface-Sortable function from this Demo: http://interface.eyecon.ro/demos/sort.html All works fine, but when i have some form-elements inside the dragable container it won't work. Is there any trick to get this working. Thx for your answer/s Regards from Stuttgart/Germany C

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread James Trix
Hi Dan I did try doing this in cold fusion but it looks like there is a limit on how big your script can be as it gets turned in to a class file. I will setup php on the server but is there any way to get your copy of search.php as I dont program in php and would like to see how to pass a query s

[jQuery] Re: Multiple form submit issue

2007-04-18 Thread Aaron Heimlich
Try this: Change: To: Delete: //create a click even and add submit behavior to all inputs that has the btnPhotos class elements $("input.btnPhotos").click( function(){ this.form.submit(); }); because it's no longer necessary On 4/18/07, Buzzterrier <[EMAIL PROTECTED]>

[jQuery] Re: Plugin: CFJS updated

2007-04-18 Thread Chris Jordan
On Apr 18, 5:47 pm, Chris Jordan <[EMAIL PROTECTED]> wrote: > In this case (for the sake of formatting) I shortened the array Well, it seems that the formatting *still* didn't really work out... but hopefully you get the idea. ;o) > > On Apr 18, 5:35 pm, "Web Specialist" <[EMAIL PROTECTED]> > wr

[jQuery] Re: Multiple form submit issue

2007-04-18 Thread Mike Alsup
Hi Buzz, Try replacing this line: this.form.submit(); with this: $(this.form).ajaxSubmit(); Mike On 4/18/07, Buzzterrier <[EMAIL PROTECTED]> wrote: Hello, I am using the forms plugin, and have a page that dynamically creates multiple forms for editing photos. Each form has a button, tha

[jQuery] Re: Plugin: CFJS updated

2007-04-18 Thread Chris Jordan
I posted some a while back in another thread. I really *should* have examples both on http://cjordan.us and on http://cfjs.riaforge.org/ I'll get that done soon. It's super simple though. Here's an example from a piece of code I'm writing now: if($.IsDefined(myArray[myArray.length - 1]) && $.St

[jQuery] Class doesn't support Automation?

2007-04-18 Thread Chris Jordan
Hi folks, I think I'm missing something simple here, but I can't seem to see it. Here's my function: function DeleteGroup(){ var $group = $("#GroupKeyID")[0]; var index = $group.selectedIndex; var groupname = $group[index]; $.dump(groupname); } Calling this function (FROM IE)

[jQuery] Re: Plugin: CFJS updated

2007-04-18 Thread Web Specialist
Looks like a great and nice job for all CFers! But where I can read any example to use that library in my app? ;-) Cheers 2007/4/17, Rey Bango <[EMAIL PROTECTED]>: Great job Chris!!! Christopher Jordan wrote: > > Hi folks, > > Just a quick note to say that I've updated the library to fix a b

[jQuery] Re: Ajax .load confusion

2007-04-18 Thread duggoff
Thanks. I did the following with your function in a file named ajaxdebug.php: $('#debug').load("ajaxdebug.php",{Title:'NewCourse'}); I get this: Array ( ) However, when I roll my own ajax using a select that calls a custom js function that calls ajaxdebug.php, it shows the following: Array ( [

[jQuery] Re: Question about jQuery + CSS

2007-04-18 Thread Jeffrey Kretz
Koch has a good chart of browser compatibility for stylesheet manipulation: http://www.quirksmode.org/dom/w3c_css.html JK From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brian Cherne Sent: Wednesday, April 18, 2007 1:14 PM To: jquery-en@googlegroups.com Subject:

[jQuery] Multiple form submit issue

2007-04-18 Thread Buzzterrier
Hello, I am using the forms plugin, and have a page that dynamically creates multiple forms for editing photos. Each form has a button, that has a click event is added to it, which submits the form. I am having problems getting the click event to submit the form so that the ajaxSubmit() fires. Us

[jQuery] Re: unbind() fails on handler specified in the HTML

2007-04-18 Thread Chris Jordan
Is there any more information on this. I was curious if unbind() would work on an event set specifically in the HTML, so I thought I'd search the list... Looks like it was worth the search. Can anyone on the dev team (or just anyone who knows the answer) tell us if unbind() is meant to work on ev

[jQuery] Re: Ajax .load confusion

2007-04-18 Thread [EMAIL PROTECTED]
$_GET is just an array. I generally add a dbug function in PHP like so: function dbug($var) { print "" . print_r($var) . ""; } Then just call dbug($_GET); anywhere you want to see the name/value pairings. -khoker On Apr 18, 4:01 pm, duggoff <[EMAIL PROTECTED]> wrote: > I added some deb

[jQuery] Re: am I in the last table row?

2007-04-18 Thread Chris Jordan
Hi, I just recently did something like this creating a little grid control. The idea was that I had a table with data filled in and a row at the bottom that was where the user could insert new information. Then when the user tabbed away from the last row a new row would be inserted (if that makes

[jQuery] am I in the last table row?

2007-04-18 Thread [EMAIL PROTECTED]
Hi, I have this HTML code ... ... ... ... and have defined this function $('td.tab').click( function() { ... }); What I want to do is determine within the function if the user clicked o

[jQuery] Re: Ajax .load confusion

2007-04-18 Thread duggoff
I added some debug code to my php file, so that it will give a value of -1 to it's $campname variable if it can't find anything in $_GET. I've tried these: var campName = 'NewCourse'; $('#table').load("camp_table2.php",{Title:campName}); returned value is -1 (didn't get the Title:Coursename pair

[jQuery] Re: "id" is not a function?

2007-04-18 Thread [EMAIL PROTECTED]
Thanks for everyone's respnses. attr("id") did the trick. - Dave On Apr 18, 3:18 pm, "Brad Perkins" <[EMAIL PROTECTED]> wrote: > Dave, > > I asked a similar question awhile ago and was told that id() and > name() were removed in a prior version to clean up the jQuery API. I'd > written some code

[jQuery] Re: TableSorter1.0: Can't use it with prototype+scriptaculous

2007-04-18 Thread Quin Hoxie
my understanding of the noConflict() function is that you simply need to call it, then reference jquery elements with jQuery() instead of $ () i have used tablesorter and prototype along side one another here if it helps: http://manzana.ece.arizona.edu/results.php -Quin On Apr 18, 3:10 am, jirap

[jQuery] Re: Desperately Lost in Space with the Tabs Plugin

2007-04-18 Thread Digislick
Hi again, I believe I understood where you told me to put the CSS - inline in the http://digislick.com/news/events_calendar_example.html page. Is that correct? If so, I have tried it (deleted the CSS out in all the files named by month and inserted the CSS in the events calendar page) and it

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Yoyo
Dan G. Switzer, II schrieb: Yoyo, Is it possible to insert custom values in multiple input? If for example I try to write "Cracow" I got "Creola" If you want freeform text to be entered, then you can't try to map the text to another value (like a primary key.) So, you could use t

[jQuery] Re: Injecting JavaScript and CSS - Optimization Technique

2007-04-18 Thread mdelmarter
Hi Markus, Pretty much. Here is an example: function getIframe($id) { $length = top.frames.length; for (var i=0; i < $length; i++) { if($.browser.msie) { $iframe = window.top.frames(i); } else { $ifr

[jQuery] Re: a grid rather than a row

2007-04-18 Thread Jan Sorgalla
pwnw31842 wrote: > > i want to be able to display a grid of photos rather than a single row. > For example 16 photos in a 4x4 grid. > > scrolling next or previous would then show the next/previous 16 (still in > a grid) > > no matter what i try i can't get the carousel to wrap the li items.

[jQuery] Re: Ajax .load confusion

2007-04-18 Thread [EMAIL PROTECTED]
Doug, I didn't try it, but I would expect the key/value pair to look like this: { key : 'value' } In your example ... $('#table').load("camp_table2.php", { Title : 'Campname' } ); -khoker On Apr 18, 3:05 pm, duggoff <[EMAIL PROTECTED]> wrote: > I've gone through the tutorial for Quick and

[jQuery] Re: Ajax .load confusion

2007-04-18 Thread Scott Sauyet
duggoff wrote: I've gone through the tutorial for Quick and Dirty Ajax (http:// 15daysofjquery.com/quick-and-dirty-ajax/14/) and I'm having a problem. I have a php file that queries a database and returns a populated table. If I call it from my browser like this: camp_table.php? Title=Campname i

[jQuery] Re: "id" is not a function?

2007-04-18 Thread Brad Perkins
Dave, I asked a similar question awhile ago and was told that id() and name() were removed in a prior version to clean up the jQuery API. I'd written some code based on examples from the mailing list archive and was getting the not a function error too. Use .attr("id") and .attr("name") instead.

[jQuery] Re: mouseover + slide down question

2007-04-18 Thread Glen Lipka
On 4/18/07, Brian Cherne <[EMAIL PROTECTED]> wrote: If you're set on rolling your own menu, you might also consider my hoverIntent plug-in: http://cherne.net/brian/resources/jquery.hoverIntent.html Brian. Holy Cow, that is awesome. I wonder if that can be applied to the following UX issue.

[jQuery] Re: Question about jQuery + CSS

2007-04-18 Thread Brian Cherne
You can access the stylesheet object using JavaScript. However, each browser represents CSS rules differently. There is no cross-browser way to access/manipulate the rules. I *had* to manipulate the stylesheet object in Safari to avoid the a:hover over swf bug... but even Safari represented the ru

[jQuery] Re: Erratic behavior of cookie plugin

2007-04-18 Thread Ⓙⓐⓚⓔ
I read the docs long ago, I've had to clean the cookies programmatically several times for several people. We had a a site that was accessible as www.xx.com and xx.com, the cookies for xx.com come back for www but not the other way around. So I got into using domain names in cookies o

[jQuery] Ajax .load confusion

2007-04-18 Thread duggoff
I've gone through the tutorial for Quick and Dirty Ajax (http:// 15daysofjquery.com/quick-and-dirty-ajax/14/) and I'm having a problem. I have a php file that queries a database and returns a populated table. If I call it from my browser like this: camp_table.php? Title=Campname it get a web page

[jQuery] Re: Desperately Lost in Space with the Tabs Plugin

2007-04-18 Thread Klaus Hartl
Digislick schrieb: Hi and nice to meet you :-) I kinda figured you're busy as most of you seem to be very much so :-) Just thought I'd give the group a shot as I'm pretty desperate at the moment. Sorry for so much code but I wasn't sure which was the most important to be included. The CSS

[jQuery] Re: "id" is not a function?

2007-04-18 Thread Abel Tamayo
First: are you sure parentElt is a jQuery object (not the same than a DOM object). Second: I would use parentElt.attr("id") instead (or $(parentElt).attr("id") in case the variable is not already a jQuery object). Hope this helps. On 4/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I

[jQuery] Re: Will this code enable & disable a submit button?

2007-04-18 Thread Daemach
Well, I wouldn't go about it like you are ;) I would do everything on the client side - if the validation is done there you already have the boolean so it's a simple matter to disable an element. To answer your question directly, if you want to keep someone from submitting a form you either have

[jQuery] "id" is not a function?

2007-04-18 Thread [EMAIL PROTECTED]
Hi, I have this expression var parentElt = $("#newTabText").parents("td.topTab:first"); alert(parentElt.id()); and I'm getting a JS error on the second line, "id" is not a function. I have verified, through another alert statement, that "parentElt" is non-empty, contains a value, and has an "i

[jQuery] Re: mouseover + slide down question

2007-04-18 Thread Brian Cherne
If you're set on rolling your own menu, you might also consider my hoverIntent plug-in: http://cherne.net/brian/resources/jquery.hoverIntent.html Brian. On 4/18/07, dailo <[EMAIL PROTECTED]> wrote: actually i was just thinking of a workaround..is there a way to put a delay on the slidedown?

[jQuery] Re: Desperately Lost in Space with the Tabs Plugin

2007-04-18 Thread Digislick
Hi and nice to meet you :-) I kinda figured you're busy as most of you seem to be very much so :-) Just thought I'd give the group a shot as I'm pretty desperate at the moment. Sorry for so much code but I wasn't sure which was the most important to be included. The CSS for each calendar is

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Dan G. Switzer, II
Jörn, >> The highlight code you're using code break HTML. >> >Could you detail that? function formatItem(d){ return "" + d[1] + ""; } If the user would try searching for the word "str", your highlight code would try to wrap strong tags inside my strong tags. Besides, someone may not ac

[jQuery] Re: Desperately Lost in Space with the Tabs Plugin

2007-04-18 Thread Klaus Hartl
Hi there, I'm the maker of the plugin. If I am not responsive, than its because I'm pretty busy right now. That's a lot of code to scan through. How do you include the CSS and scripts you're talking of? You need to include all of that in the page that contains the tabs, not the one that g

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: Jörn, Could we hijack the current result event for this? Currenlty nothing is returned. If the user doesn't want the result, he could return false or whatever to prevent it. Switching the order in which the result is set to the input and the callback is executed

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Dan G. Switzer, II
Jörn, >Could we hijack the current result event for this? Currenlty nothing is >returned. If the user doesn't want the result, he could return false or >whatever to prevent it. Switching the order in which the result is set >to the input and the callback is executed shouldn't be a problem. What

[jQuery] Re: What does this do - transport.setRequestHeader("connection", "close")

2007-04-18 Thread Jörn Zaefferer
Ian Struble schrieb: At the risk of beating a dead horse; a few links to related (and fixed) bugs in other projects (including firefox). The root cause of the hack (Dan just touched on it): https://bugzilla.mozilla.org/show_bug.cgi?id=246651 Message reporting that the above bug was fixed in

[jQuery] Re: mouseover + slide down question

2007-04-18 Thread Glen Lipka
On 4/18/07, dailo <[EMAIL PROTECTED]> wrote: actually i was just thinking of a workaround..is there a way to put a delay on the slidedown? Or i guess a delay on a mouseover On Apr 18, 1:09 pm, dailo <[EMAIL PROTECTED]> wrote: > I've set up a horizontal nav and have slide down divs for each ele

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: Jörn, I see three ways to handle this: - Let the user enter whatever he wants, using the autocomplete only as a helper. - Remove anything that was already entered from the proposed elements - Disallow/remove a selected value if it was already entered What would

[jQuery] Re: Erratic behavior of cookie plugin

2007-04-18 Thread Jörn Zaefferer
Ⓙⓐⓚⓔ schrieb: Setting a path and a domain is required for knowing exactly where the cookies are going to apply. Sloppy cookies can be fun, but someone will have to clean up the crumbs sooner or later! Can you point to a good resource or explain a bit about properly setting path and domain fo

[jQuery] Re: What does this do - transport.setRequestHeader("connection", "close")

2007-04-18 Thread Ian Struble
At the risk of beating a dead horse; a few links to related (and fixed) bugs in other projects (including firefox). The root cause of the hack (Dan just touched on it): https://bugzilla.mozilla.org/show_bug.cgi?id=246651 Message reporting that the above bug was fixed in the 11 Sep 2004 build :

[jQuery] Desperately Lost in Space with the Tabs Plugin

2007-04-18 Thread Digislick
Hi all, I've been lurking for a while, reading as much as I can, trying to learn quickly. But sometimes it's an uphill battle :-) Sorry if this is an obvious question to you all, but I'm really banging my head against the wall with this. I've already directly emailed the maker of this plugin

[jQuery] Re: Newbie code review please?

2007-04-18 Thread Howard Jones
DaveG wrote: Just a heads-up, but I recall when I did this that I had to do some 'extra' coding. I'm not sure if you have the same scenario, but I wanted the row to be highlighted, and the checkbox toggled when either the checkbox was clicked or the row was clicked. I had to accommodate for t

[jQuery] Re: Newbie code review please?

2007-04-18 Thread Howard Jones
Karl Swedberg wrote: Hi Howard, Looks cool! Here is what I came up with (untested), starting with any 'tr' that contains a checkbox and going from there. I'm not sure what you're asking about the ID, so I didn't put that part in here. Are you going to use the id for something else later on?

[jQuery] Re: mouseover + slide down question

2007-04-18 Thread dailo
actually i was just thinking of a workaround..is there a way to put a delay on the slidedown? Or i guess a delay on a mouseover On Apr 18, 1:09 pm, dailo <[EMAIL PROTECTED]> wrote: > I've set up a horizontal nav and have slide down divs for each element > for the subnav. It works fine for now but

[jQuery] Re: Clearing setTimeout()'s and Canceling Effects

2007-04-18 Thread Brandon
I have solved the timeout problem by changing to timer = setInterval() and timer = clearInterval() like I should have done in the first place. I still have the question about stopping or speeding up a fade effect. An ideal solution would be to skip to the very end of the effect. Is this possibl

[jQuery] Re: What does this do - transport.setRequestHeader("connection", "close")

2007-04-18 Thread Ⓙⓐⓚⓔ
But you can!!! beforeSend = function(req){/* any custom evil */} On 4/18/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: Well said! :) In addition it would be nice if a developer could easily, manually close the connection if for some reason needed too. -- Brandon Aaron On 4/18/07, Ⓙⓐⓚⓔ <[EMAIL

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Dylan Verheul
On 4/18/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: What about the links on the wiki plugin page? Replace both? Point to the better versions, no need to point to my page. I'm not that vain, and I'm nicely mentioned in the current version of the plugin :-)

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread Dan G. Switzer, II
Jeff, >Side note: Have you done any work with plugging into a cfc with this >instead of calling a cfm template for the query? I prefer using façades instead of calling a CFC directly. It's so easy to throw together a façade that just invokes the CFC, that I don't really worry about it. Adobe an

[jQuery] Re: What does this do - transport.setRequestHeader("connection", "close")

2007-04-18 Thread Dan G. Switzer, II
Jörn, >if ( xml.overrideMimeType ) > xml.setRequestHeader("Connection", "close"); > >I'm still not sure when that is really necessary to set. Could someone >summarize the conclusion from this thread? In older Gecko builds v1.0.x, the content length was incorrect unless you passed in the co

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Dan G. Switzer, II
Jörn, >I see three ways to handle this: >- Let the user enter whatever he wants, using the autocomplete only as a >helper. >- Remove anything that was already entered from the proposed elements >- Disallow/remove a selected value if it was already entered > >What would be the better solution? I

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Dan G. Switzer, II
Jörn/Dylan, >>> > I'm glad to release the first version of the rewritten autocomplete >>> > plugin, based on the work by ... >>> > There is now a page with a download, link to the demo and >>> documentation: >>> > http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ >>> >>> Great! >>

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread Dan G. Switzer, II
Jörn, >Yeah, good point. But it doesn't hurt to send the parameter, does it? No, because if you choice not to use the internal caching, then you could limit results based upon the settings. -Dan

[jQuery] Re: Erratic behavior of cookie plugin

2007-04-18 Thread Ⓙⓐⓚⓔ
Setting a path and a domain is required for knowing exactly where the cookies are going to apply. Sloppy cookies can be fun, but someone will have to clean up the crumbs sooner or later! On 4/17/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: joomlafreak schrieb: > Hi Klaus > Thanks for your promp

[jQuery] Re: What does this do - transport.setRequestHeader("connection", "close")

2007-04-18 Thread Brandon Aaron
Well said! :) In addition it would be nice if a developer could easily, manually close the connection if for some reason needed too. -- Brandon Aaron On 4/18/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote: It is code written by the devil to torture the good and pure of heart! It was a kludge to a firefox

[jQuery] Re: What does this do - transport.setRequestHeader("connection", "close")

2007-04-18 Thread Ⓙⓐⓚⓔ
It is code written by the devil to torture the good and pure of heart! It was a kludge to a firefox version that is no longer supported. It's only still there because it was taken as gospel by the early adopters of jQuery! I'm not a zealot, or calling for a reform, but I can no longer support the

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: Jeff, Yeah, thats what I did. Didn't work. Hmmm. Ooh... I just thought of something. I think maybe the problem came from the generation of the used in IE6 to make sure the dropdown goes over select elements. I just looked at the actual source I'm using o

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: Jörn, The autocomplete plugin version I've just released (see other thread) sends the options.max value to the server as a "limit" parameter, you could add that to your SQL to limit the number of results already on the server. I wouldn't recommend that tho

[jQuery] Re: What does this do - transport.setRequestHeader("connection", "close")

2007-04-18 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: Jeff, Boy I feel like a dummy, but I can't even find that line in my jQuery script. I am testing with jQuery 1.1.2 unpacked. Is that what we are talking about? I might be having a similar problem and want to test against that by commenting this out as well, but

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: Yoyo, Is it possible to insert custom values in multiple input? If for example I try to write "Cracow" I got "Creola" If you want freeform text to be entered, then you can't try to map the text to another value (like a primary key.) So, you could use the

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Jörn Zaefferer
Dylan Verheul schrieb: On 4/18/07, Mika Tuupola <[EMAIL PROTECTED]> wrote: On Apr 18, 2007, at 2:35 PM, Fil wrote: >> http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ > > Great work :) Dylan seems to be source of many great plugins ;) I'll take that as a compliment :-) Y

[jQuery] How to Trigger a link , without 'click' event

2007-04-18 Thread rsugihar
Hi, I tried to used your plugin 'jqModal' and run 'Example 3a'. http://dev.iceburg.net/jquery/jqModal/ How to 'trigger' the function without 'click' it on view(link) ?? for example, i have condition(php) that have to call/trigger the function like : a href="#" id="ex3aTrigger" } ?> Th

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Jörn Zaefferer
Fil schrieb: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ Great work :) You have a bug at Thanks Fil, gonna fix that. -- Jörn Zaefferer http://bassistance.de

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Jörn Zaefferer
Dylan Verheul schrieb: On 4/18/07, Dylan Verheul <[EMAIL PROTECTED]> wrote: On 4/17/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > I'm glad to release the first version of the rewritten autocomplete > plugin, based on the work by ... > There is now a page with a download, link to the demo and

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: Geoffrey, Instead of hiding the box, perhaps there could be an option to display a message in the box that there are no matches to the users current input. In situations where the user must select from the list (the input will have to pass validation later) this

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Jörn Zaefferer
Jeff Fleitz schrieb: One thing that I think would be useful to add (I pinged Dan about this the other day), is an option to restrict the multiple option to distinct values, so that duplicate selections are prevented. That is an interesting point. I see three ways to handle this: - Let the u

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Jörn Zaefferer
amircx schrieb: found a problem: when im typing and select the matched value, and using form vaildiation plugin, if i set the MinLen in the validation plugin, its not accept the new value and change the state ie if i got field the min len required is 3 chars, and i typed "abrah" and selected

[jQuery] Re: [PATCH] jQuery 1.1 star rating fix

2007-04-18 Thread Klaus Hartl
Jörn Zaefferer schrieb: Ian Eure schrieb: I ran into some problems with the star rating plugin for jQuery 1.1. The issue is that (at least in Firefox) links with "#foo" get expanded to include the current page URL. The plugin assumes the href attribute is a simple "#5", so the rating isn't ex

[jQuery] Re: jQuery and EXT not working at all

2007-04-18 Thread Jörn Zaefferer
Juha Suni schrieb: cdomigan wrote: In the latest releases of Ext, the jquery and dimensions files are already included in ext/adapter/jquery/jquery-plugins.js This took it's part in creating confusion. The version I downloaded yesterday (1.0) contained information that I should include "jq

[jQuery] Re: Erratic behavior of cookie plugin

2007-04-18 Thread Jörn Zaefferer
joomlafreak schrieb: Problem solved by setting the path. What exactly did you change to get it working? -- Jörn Zaefferer http://bassistance.de

[jQuery] mouseover + slide down question

2007-04-18 Thread dailo
I've set up a horizontal nav and have slide down divs for each element for the subnav. It works fine for now but when I run over the navs too fast i notice the subnav divs stay up because it'll wait until the animation is done before it treats it as a real div...anyways here my snippet of code her

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread Jeff Fleitz
Yeah, I had looked at that the iframe thing too after googling for some answers, but I had played with iframes on another section of the site, and never saw an issue, so I put that on the back burner. I can't believe I didn't miss that cool gif image. I remembered seeing it when I was doing your

[jQuery] Re: Newbie code review please?

2007-04-18 Thread Scott Sauyet
Howard Jones wrote: Having just made my first real piece of jQuery code, I'm already wondering if it can be made more concise :-) [ ... ] $('input:[EMAIL PROTECTED]').each( function() { var myid = $(this).attr('name'); $(this).parent().parent().click( function(event)

[jQuery] Re: jQuery Powered Sites - More Sites Added.

2007-04-18 Thread DaveG
http://www.dzone.com/ looks like it's jQ enabled as well. ~ ~ Dave On Apr 10, 10:33 am, Rey Bango <[EMAIL PROTECTED]> wrote: > Added: > > - GameGum Free Flash Games > > - ToonGum ToonGum is a flash cartoon community. View, submit, and > interact with our many flash cartoons and large community.

[jQuery] Re: Newbie code review please?

2007-04-18 Thread Scott Sauyet
Mei Gwilym wrote: Why bother with javascript? Html will do it for everyone: I believe the OP wanted the checkbox changed with a click anywhere on the TR that contained it. The label is a good idea in general, but this is something beyond that. -- Scott

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread Jeff Fleitz
My bad. You were right about 1) The culprit was the indicator.gif file. I had moved the css file to a different folder and it broke the reference. Things are working now. Thanks. Jeff On Apr 18, 12:36 pm, "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > Jeff, > > >Yeah, thats what I did. Di

[jQuery] Re: Autocomplete plugin

2007-04-18 Thread Dan G. Switzer, II
Jeff, >Yeah, thats what I did. Didn't work. Hmmm. Ooh... I just thought of something. I think maybe the problem came from the generation of the used in IE6 to make sure the dropdown goes over select elements. I just looked at the actual source I'm using on the server and found this at line 257

  1   2   >