[jQuery] Re: jQuery 1.1.3a / 1.2 ?

2007-04-19 Thread Erik Beeson
Lies. You didn't come see our booth. I think you've just been partying and vacationing. Hope you get to feeling better. --Erik On 4/19/07, John Resig <[EMAIL PROTECTED]> wrote: I've been doing a lot of traveling (past 10 days), and now I'm sick. Maybe this weekend, but I'm not completely su

[jQuery] Re: manipulating TEXAREA content

2007-04-19 Thread Ⓙⓐⓚⓔ
It's step 7 that would give you lots of trouble! floating the div around the last character of the text area, a bunch of math that would depend on the font size, the wrapping and the width of each letter and the number of returns, ouch! Then there's step 8, convincing the users that the floating

[jQuery] Re: manipulating TEXAREA content

2007-04-19 Thread Ariel Jakobovits
This would be easy, here are the steps: 1. identify what event to listen to when trying to respond to key typing in a textarea // one minute 2. create a jQuery function to select that textarea by id // one line 3. bind on that textarea, to that event type, a function that says 'hi' // one line

[jQuery] DOM traversal: changing XHTML attributes w/ jquery???

2007-04-19 Thread ldexterldesign
hey all, wondering if anyone could help with this... i have two jquery functions that act independently on two separate columns of text in my webpage. a live example of the webpage is here: http://www.personal.leeds.ac.uk/~scs4ll/ with the code below working with the articles > 'preview more ar

[jQuery] Re: animate background-position??

2007-04-19 Thread sspboyd
Ok. Thanks for the help, I'll check that out. Steve On Apr 19, 11:19 pm, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote: > Ah, I hadn't realized these were IE-only properties. > > I suggest taking a look at Stefan's ifx.js > script in the Interface plugin. He wrote some custom functionality for the >

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

2007-04-19 Thread Karl Swedberg
If you want to clone events along with new DOM nodes, you can try Brandon Aaron's Copy Events plugin: http://www.learningjquery.com/2007/01/copy-events-from-one-element-to- another --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Apr 19, 2007, at 10:59

[jQuery] Re: Using EXT with Jquery

2007-04-19 Thread Brad Perkins
Eli, This thread might help. http://groups.google.com/group/jquery-en/browse_thread/thread/bb64561ee9fe2e22/fdb149e62b2bd03b?lnk=gst&q=ext&rnum=2#fdb149e62b2bd03b On 4/19/07, Eli <[EMAIL PROTECTED]> wrote: Hey guys, Just noticed a couple of days ago that ext now has a new 'extjs' for jquery

[jQuery] Re: animate background-position??

2007-04-19 Thread Jeffrey Kretz
Ah, I hadn't realized these were IE-only properties. The basic problem still remains that the animate method cannot take a dual property. You would have to write a custom handler for the backgroundPosition attribute. I suggest taking a look at Stefan's ifx.js script in the Interface plugin. He

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

2007-04-19 Thread Ⓙⓐⓚⓔ
I think I understand... change is a event bind, and event binds don't get cloned. so you have to re-bind or re-make the nodes and re-bind anyway. it's an idea, not a solution. I always bind my new nodes. On 4/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Did I find a bug, or is there j

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

2007-04-19 Thread [EMAIL PROTECTED]
Did I find a bug, or is there just nobody that knows how to fix it? On Apr 19, 1:43 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > 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-po

[jQuery] Re: animate background-position??

2007-04-19 Thread sspboyd
Yeah, I thought that might be it but unfortunately it is not. There is no "backgroundPositionX" or "backgroundPositionY". http://www.w3.org/TR/CSS2/colors.html#background-properties There is however "background-position-x" but that property is a Microsoft extension. http://msdn.microsoft.com/work

[jQuery] Drupal and JQuery

2007-04-19 Thread merc
Hello everybody, I am in the middle of developing a karma module for Drupal (amazingly, it doesn't have one already and we need one for Free Software Magazine). While I know Drupa quite well, I know nothing about Javascript and JQuery. I am finding things a little difficult, to be honest. I kn

[jQuery] Using EXT with Jquery

2007-04-19 Thread Eli
Hey guys, Just noticed a couple of days ago that ext now has a new 'extjs' for jquery, and I wanted to test it out, but for some reason I can't get it to work. I've tried to make my own page like the layout.js example ( http://extjs.com/deploy/ext/examples/dialog/layout.html ), and I get the foll

[jQuery] Re: manipulating TEXAREA content

2007-04-19 Thread Chris W. Parker
On Thursday, April 19, 2007 3:44 PM Dug Falby <> said: > Hi all, > > I wonder if I could get your opinion on whether or not something is > possible and if it is, is there a really compact way of doing it with > jquery? > > I would like to make a character counter for a textarea input. I would >

[jQuery] manipulating TEXAREA content

2007-04-19 Thread Dug Falby
Hi all, I wonder if I could get your opinion on whether or not something is possible and if it is, is there a really compact way of doing it with jquery? I would like to make a character counter for a textarea input. I would like the string that is the number of chars typed in the box to always

[jQuery] Using Interface.Droppable

2007-04-19 Thread faz
Ciao to all and sorry for my english, I m very new to jquery and his plugin Interface, I m trying to use drag and drop, but after a drop, if I clone a tag or I substitute his html with element having the same css class, the new elemnt are not sensible to the drag or drop behaviour attached to the

[jQuery] Re: jQuery 1.1.3a / 1.2 ?

2007-04-19 Thread John Resig
I've been doing a lot of traveling (past 10 days), and now I'm sick. Maybe this weekend, but I'm not completely sure. In your case, I don't think the escaping will solve the : issue - since : denotes a namespace (and I'm fairly certain that it isn't treated identically in all browsers). Travel

[jQuery] Treeview persistence (cookies) and a dynamic (PHP/MySQL built) UL - not holding state

2007-04-19 Thread withinreach
I'm working with Treeview, latest version, needing the cookie/ persistence feature for a project. Sample demo works fine on my local machine (I can click on 2nd tree, change what's open/closed, browse to another page, then return (BACK button), and the tree holds its state. Great! Can't get it t

[jQuery] Plugin: frameReady updated. Now with better docs and demos ;)

2007-04-19 Thread Daemach
I just updated frameReady to support loading script and stylesheet files in other frames, including nested, dynamically created iframes if necessary. frameReady loads jQuery in the target frame(s) by default, so you can run any jQuery function in the target frame as if you were dealing with the l

[jQuery] Re: animate background-position??

2007-04-19 Thread Jeffrey Kretz
Background-position is a dual property, containing both the X and Y coordinates. To animate it, you have to animate the X and Y separately. $('#header').animate({backgroundPositionX : bkgPosX , backgroundPositionY: bkgPosY },'slow'); JK -Original Message- From: jquery-en@googlegroups.c

[jQuery] Re: Multiple File Upload Plugin for jQuery

2007-04-19 Thread Dan G. Switzer, II
Oscar, >I am trying to load (using $.load()) a page which contains a form with >Multiple File Upload Plugin but it doesn't work. > >Any idea? The $.load() method is designed to load document fragments--not entire web pages. If you want to use load complete page, use an --that's what they're de

[jQuery] jQuery 1.1.3a / 1.2 ?

2007-04-19 Thread Jonathan Sharp
What's the release status for 1.1.3a (or 1.2)? We're in need of support for expanded namespaces (eg. being able to select foo:bar via $('foo\\\:bar') ) Cheers, -Jonathan

[jQuery] Multiple File Upload Plugin for jQuery

2007-04-19 Thread oscar esp
I am trying to load (using $.load()) a page which contains a form with Multiple File Upload Plugin but it doesn't work. Any idea? Here is the code: . . Empty div . . upload.asp jQuery.noConflict(); Example 4 This example requires the MetaData plugin. Here's is how

[jQuery] animate background-position??

2007-04-19 Thread sspboyd
Hi, I've been trying several ways to animate the position of a background image and I'm stuck. This is the code I'm using: $("#header").click(function(){ var bkgPosX=Math.round(Math.random()*(-500)); var bkgPosY=Math.round(Math.random()*(-200)); $("#header").animate({sty

[jQuery] Re: Keyboard shortcuts

2007-04-19 Thread Chris Jordan
That shortkeys plugin is cool! I'm gonna have to remember that one. :o) Chris On Apr 19, 2:49 pm, "Leonardo K" <[EMAIL PROTECTED]> wrote: > http://sanisoft-demo.com/jquery/plugins/shortaccesskey/ > orhttp://rikrikrik.com/jquery/shortkeys/ > > On 4/19/07, Glen Lipka <[EMAIL PROTECTED]> wrote: > >

[jQuery] Re: Keyboard shortcuts

2007-04-19 Thread Brandon Aaron
Yup. http://rikrikrik.com/jquery/shortkeys/ -- Brandon Aaron On 4/19/07, Glen Lipka <[EMAIL PROTECTED]> wrote: http://www.openjs.com/scripts/events/keyboard_shortcuts/ This looks really cool. Is there a jQuery plugin like it? Glen

[jQuery] Re: Class doesn't support Automation? -OR- I think there's a bug in jquery.dump.js

2007-04-19 Thread Chris Jordan
Okay, I think I figured this one out. I've put up a very simplified page that shows the problem in action, and it was during the creation of this page that I figured out what (or more accurately where) the issue is. view the page here (http://cjordan.us/test/ChrisTest.cfm). My original function:

[jQuery] Re: Deleting siblings

2007-04-19 Thread Leonardo K
Sorry, correcting: $("td.closeTab").click( function() { if (confirm("Are you sure you want to delete this tab?")) { var parentElt = $(this).parents("td.topTab:first"); $(parentElt).next().remove(); $(parentElt).prev().remove(); parentElt.remove();

[jQuery] Re: Library showdowns

2007-04-19 Thread Scott Sauyet
Nathan Young -X (natyoung - Artizen at Cisco) wrote: > If I understand your problem statement this is something I'd currently > solve using closures, is there a way that using currying is > fundamentally different or is it a different way of thinking about the > same problem? At the risk of cont

[jQuery] Re: Deleting siblings

2007-04-19 Thread Leonardo K
This should work: $("td.closeTab").click( function() { if (confirm("Are you sure you want to delete this tab?")) { var parentElt = $(this).parents("td.topTab:first"); parentElt.remove(); $(parentElt).next().remove(); $(parentElt).prev().remove();

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

2007-04-19 Thread Theo Welch
Thanks, John! And thank *you* for making it possible! Seriously. Without jQuery, that exhibit would not exist. Thanks a lot! -THEO- On Apr 19, 2007, at 3:24 PM, John Resig wrote: Very very nice work! --John On 4/19/07, Theo Welch <[EMAIL PROTECTED]> wrote: Hi All, I just completed

[jQuery] Deleting siblings

2007-04-19 Thread [EMAIL PROTECTED]
Hi, I have this HTML ... nooo ... when the user clicks the "close" button, I want to delete not only the parent cell of the close button (the c

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Dan G. Switzer, II
Jörn, >I like the idea.Gonna test if that works out. > >About the xor-validation, I wonder if this could work: > >$.validator.addMethod('xor', function(value, element, parameter) { > return value && $(parameter).is(":blank"); >}); > >rules: { > field1: { xor: "#field2" }, > fiel

[jQuery] Re: Keyboard shortcuts

2007-04-19 Thread Brian Miller
Yeuhda's "fix events" bears some similarities. It might even be a good thing to combine them, as I'm not sure if the keyboard shortcuts script entirely evens out the differences between browsers. - Brian > http://www.openjs.com/scripts/events/keyboard_shortcuts/ > > This looks really cool. > I

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: Aaron, I may be misunderstanding something, but what does this do that $.validator.addMethod[1] doesn't? The addMethod would accomplish the same thing. The addMethod() is really affective for building a library of reusable validation method. However, ther

[jQuery] Re: Keyboard shortcuts

2007-04-19 Thread Leonardo K
http://sanisoft-demo.com/jquery/plugins/shortaccesskey/ or http://rikrikrik.com/jquery/shortkeys/ On 4/19/07, Glen Lipka <[EMAIL PROTECTED]> wrote: http://www.openjs.com/scripts/events/keyboard_shortcuts/ This looks really cool. Is there a jQuery plugin like it? Glen

[jQuery] Re: AJAX problems in IE6

2007-04-19 Thread George
Hi Ben, I know you found a workaround for this using the pause plugin, but I wondered if the problem had anything to do with the way the fadeIn() is outside the call back function? This means the fadeIn is running when the ajax response arrives back. Just a thought. George

[jQuery] Keyboard shortcuts

2007-04-19 Thread Glen Lipka
http://www.openjs.com/scripts/events/keyboard_shortcuts/ This looks really cool. Is there a jQuery plugin like it? Glen

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Dan G. Switzer, II
Aaron, >I may be misunderstanding something, but what does this do that >$.validator.addMethod[1] doesn't? The addMethod would accomplish the same thing. The addMethod() is really affective for building a library of reusable validation method. However, there are times when you have very specifi

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

2007-04-19 Thread John Resig
Very very nice work! --John On 4/19/07, Theo Welch <[EMAIL PROTECTED]> wrote: Hi All, I just completed a Photography exhibit that is within the U.S. National Archives' website. It uses jQuery extensively and has some pretty good photos in it too. :) http://www.archives.gov/exhibits/twww/ I

[jQuery] Re: .load jcarousel

2007-04-19 Thread Jan Sorgalla
Hi, lucharles wrote: > > i am trying to use the .load in jquery to inject a jcarousel into my > document. is this possible? when clicking the site navigation the images > appear in a vertical list instead of hidden and sliding. something seems > to not be loading. > > for an example th eurl i

[jQuery] Re: Library showdowns

2007-04-19 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Thanks for the reply! If I understand your problem statement this is something I'd currently solve using closures, is there a way that using currying is fundamentally different or is it a different way of thinking about the same problem? --->Nathan

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Aaron Heimlich
I may be misunderstanding something, but what does this do that $.validator.addMethod[1] doesn't? [1] http://jquery.bassistance.de/api-browser/plugins.html#jQueryvalidatoraddMethodStringFunctionString On 4/19/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote: Jörn, >Sorry, my example was a bi

[jQuery] Re: a grid rather than a row

2007-04-19 Thread Jan Sorgalla
pwnw31842 wrote: > > i'm using example_dynamic_ajax.html as a basis on which to construct it, > pulling image references from the txt file. > > But If i'm automatically pulling the images from flickr or a txt file how > do i prevent it from putting each image in an LI? > > it seems like ther

[jQuery] Re: jEditable/CSS question

2007-04-19 Thread Josh Nathanson
1. wrap the two buttons in their own tag. THis will cause them to appear on their own line since tags are display:block; by default. OK, I'm a dumb dumb...I added "display:block" to the textarea style and now it displays how I want, with no hacks to jEditable code (other than my previous

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Dan G. Switzer, II
Jörn, >Sorry, my example was a bit misleading. So far you can't pass a function >as a rule, only as a value to required. >supported: field: { required: function() {} } >not supported: field: function() {} > >By adding support for the latter, you could do almost everything, but >I'm not yet sure h

[jQuery] Re: jEditable/CSS question

2007-04-19 Thread abba bryant
tried display:block; ? also if the plugin is inserting a container div, check that elements styles as well. It might be a fixed width. I don't use the plugin so I can't be more help. Josh Nathanson-2 wrote: > > > Hey all, > > I'm working with jEditable which changes text to an input field w

[jQuery] Re: ThickBox question

2007-04-19 Thread Theo Welch
Thanks, guys! :) On Apr 19, 2007, at 1:45 PM, Ariel Jakobovits wrote: me too - Original Message From: Christopher Jordan <[EMAIL PROTECTED]> To: jquery-en@googlegroups.com Sent: Thursday, April 19, 2007 10:27:05 AM Subject: [jQuery] Re: ThickBox question Hey Theo that's pretty c

[jQuery] Re: jEditable/CSS question

2007-04-19 Thread Theo Welch
Hi Josh. It's hard to say without seeing your specific situation in action, but here are a few thoughts: 1. wrap the two buttons in their own tag. THis will cause them to appear on their own line since tags are display:block; by default. 2. reduce the width of your container so there is

[jQuery] jEditable/CSS question

2007-04-19 Thread Josh Nathanson
Hey all, I'm working with jEditable which changes text to an input field when you click the text. It works really nicely. I modded it a bit to allow me to style each of the elements individually, rather than the whole form, which is working fine. When you generate a textarea, it also crea

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-19 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: What would be passed to the function? The containing li? a jQuery object containing the containing li? The HTML text? The source is available here: http://dev.jquery.com/browser/trunk/plugins/autocomplete/jquery.autocomplete .js [...] At the moment it runs

[jQuery] Re: Erratic behavior of cookie plugin

2007-04-19 Thread Jörn Zaefferer
Ⓙⓐⓚⓔ schrieb: "/" for a path is great. every page will share the cookies, KLAUS & Jörn, wouldn't it be a nice default? This is "server wide cookies". If you added a domain ".example.com" You have "all 'subhost' cookies". If you added a domain "example.com " You have "dom

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Jörn Zaefferer
SeViR schrieb: I would need some methods ("rules" in YAV) in Validation plugin: // generic regexp method $.validator.addMethod("regexp", function(value, element, regular_expression) { return (typeof(regular_expression) == "string")? value.match(new RegExp(regular_expression)) : val

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: Jörn, You can do that already. After implementing the suppurt for expressions, support for plain functions was really easy. I can imagine adding a method on the fly: rules: { field2: function() { return condition; } } I wasn't aware of that. Howev

[jQuery] ?compile jQuery with plugins

2007-04-19 Thread DS.Highwind
Is there a way to compile a set of plugins directly into jQuery (so as not to include them in separate script tags)? I've tried to build it with "make with_plugins all" and "make with_plugins", but nothing happens, I always got the standard version of jquery compiled (the paths I found in the Make

[jQuery] Re: ThickBox question

2007-04-19 Thread Ariel Jakobovits
me too - Original Message From: Christopher Jordan <[EMAIL PROTECTED]> To: jquery-en@googlegroups.com Sent: Thursday, April 19, 2007 10:27:05 AM Subject: [jQuery] Re: ThickBox question Hey Theo that's pretty cool! I like the site. :o) Chris Theo Welch wrote: > > Hi All, > > I happe

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-19 Thread Dan G. Switzer, II
Brian, >What would be passed to the function? The containing li? a jQuery object >containing the containing li? The HTML text? The source is available here: http://dev.jquery.com/browser/trunk/plugins/autocomplete/jquery.autocomplete .js 581 function dataToDom() { 582 var

[jQuery] Re: ThickBox question

2007-04-19 Thread Christopher Jordan
Hey Theo that's pretty cool! I like the site. :o) Chris Theo Welch wrote: Hi All, I happened upon your discussion below. Just FYI, I have a customized Thickbox running on this photography exhibit: http://www.archives.gov/exhibits/twww/ Cheers! -THEO- On Apr 19, 2007, at 10:36 AM, Chri

[jQuery] Re: Erratic behavior of cookie plugin

2007-04-19 Thread Ⓙⓐⓚⓔ
"/" for a path is great. every page will share the cookies, KLAUS & Jörn, wouldn't it be a nice default? This is "server wide cookies". If you added a domain ".example.com" You have "all 'subhost' cookies". If you added a domain "example.com" You have "domain wide cookies". the 2 last are often

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread SeViR
I would need some methods ("rules" in YAV) in Validation plugin: // generic regexp method $.validator.addMethod("regexp", function(value, element, regular_expression) { return (typeof(regular_expression) == "string")? value.match(new RegExp(regular_expression)) : value.match(regular_e

[jQuery] Re: ThickBox question

2007-04-19 Thread Theo Welch
Hi All, I happened upon your discussion below. Just FYI, I have a customized Thickbox running on this photography exhibit: http://www.archives.gov/exhibits/twww/ Cheers! -THEO- On Apr 19, 2007, at 10:36 AM, Christopher Jordan wrote: Rob, Thanks heaps for sharing! I'll look at this

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

2007-04-19 Thread Theo Welch
Hi All, I just completed a Photography exhibit that is within the U.S. National Archives' website. It uses jQuery extensively and has some pretty good photos in it too. :) http://www.archives.gov/exhibits/twww/ It uses a modified Accordion plugin for the main presentation, a modified Th

[jQuery] Re: Multiple form submit issue

2007-04-19 Thread Mike Alsup
Hi Buzz, ajaxSubmit is the function that actually uses the options and so they must be passed in by the caller. If you call it yourself, you must pass the options. When you use ajaxForm it binds the form's submit event and invokes ajaxSubmit for you, passing in the options that it has captured

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-19 Thread Brian Miller
> Dan G. Switzer, II schrieb: >> Jörn, >> >> >>> Fully agreed, I'll make that optional. I've got another request for an >>> even more sophicistacted highlighting, seems like a good idea to >>> implement it not only as a boolean option. >>> >> >> You could also just define that highlight function

[jQuery] Re: Multiple form submit issue

2007-04-19 Thread Buzzterrier
Thx Mike that worked. I guess I am confused (ignorant ) on why attaching the options to the form using: $('#myForm1').ajaxForm(options); does not work when using ajaxSubmit to submit the form: $('#myForm1').ajaxSubmit(); but when using this pattern the form does have the options att

[jQuery] Re: Class doesn't support Automation?

2007-04-19 Thread Christopher Jordan
I'll see what I can to about getting an example page posted to the web where others can see it. My client currently has me working on another aspect of the project, but I should still be able to get it done today. Thanks, Chris PS... What'd you call me?! I'm a newbie here too. I only

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-19 Thread Dan G. Switzer, II
Jörn, >> I'd like to see both a highlight: true/false and onHighligh: function(){} >> option. That would provide tons of flexibility. >> >How about this: >@option Boolean|Function highlight Whether and how to highlight matches >in the select box. Set to false to disable. Set to a function to >cus

[jQuery] Re: Form + BlockUI plugin

2007-04-19 Thread Kush Murod
I'll upload a sample as quick as possible --Do you have a sample page?

[jQuery] Re: Form + BlockUI plugin

2007-04-19 Thread Kush Murod
Hi Mike, my form has got only type=file elements so I just did a test and discovered that as long as I have type=file elements in my form it doesn't work properly my guess is something goes wrong when when inserting form that has got type=file into blockUI maybe a bug? --Kush

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Dan G. Switzer, II
Jörn, >You can do that already. After implementing the suppurt for expressions, >support for plain functions was really easy. I can imagine adding a >method on the fly: > >rules: { > field2: function() { return condition; } >} I wasn't aware of that. However, if you changed that do: rules

[jQuery] Re: Form + BlockUI plugin

2007-04-19 Thread Mike Alsup
Do you have a sample page? actually that is exactly what I am doing, I have checked already as you said, if moved the form into blockUI :( this is really weird behaviour I must say

[jQuery] Re: Form + BlockUI plugin

2007-04-19 Thread Kush Murod
actually that is exactly what I am doing, I have checked already as you said, if moved the form into blockUI :( this is really weird behaviour I must say Mike Alsup wrote: Kush, When you do this: $.blockUI(form) the plugin adds your form to the blockUI message element. This means the for

[jQuery] Re: Class doesn't support Automation?

2007-04-19 Thread Scott Sauyet
Christopher Jordan wrote: I should have mentioned that $group.options[index] was the first syntax I tried. FF handles both. IE produces the same error for both syntaxes. I've never seen that. It looks like a useful short-cut if it's supported everywhere. Any other thoughts? I'd like t

[jQuery] Re: setting attbitues

2007-04-19 Thread [EMAIL PROTECTED]
Thanks. That did it. - On Apr 19, 10:03 am, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] schrieb: > > > I discovered that if I want to set the class for an object, this is > > not the code > > > $('#' + id).setAttribute("class", "myClass"); > > > What is the correct syntax? Tha

[jQuery] Re: Form + BlockUI plugin

2007-04-19 Thread Mike Alsup
Kush, When you do this: $.blockUI(form) the plugin adds your form to the blockUI message element. This means the form is implicitly removed from the DOM and then reinserted in a different position. Try binding the form after you block. Maybe something like: $.blockUI(form); $(form).ajaxFor

[jQuery] Re: setting attbitues

2007-04-19 Thread Jörn Zaefferer
[EMAIL PROTECTED] schrieb: I discovered that if I want to set the class for an object, this is not the code $('#' + id).setAttribute("class", "myClass"); What is the correct syntax? Thanks, - Dave Try this: $(...).attr("class", "myClass"); If you don't want to replace existing classes,

[jQuery] Re: setting attbitues

2007-04-19 Thread Brandon Aaron
You can use the addClass and removeClass methods to modify the class of the element. $('#'+id).addClass('myClass'); http://jquery.bassistance.de/api-browser/#addClassString http://jquery.bassistance.de/api-browser/#removeClassString -- Brandon Aaron On 4/19/07, [EMAIL PROTECTED] <[EMAIL PROTE

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-19 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: Jörn, Fully agreed, I'll make that optional. I've got another request for an even more sophicistacted highlighting, seems like a good idea to implement it not only as a boolean option. You could also just define that highlight function as the default optio

[jQuery] Re: Class doesn't support Automation?

2007-04-19 Thread Christopher Jordan
Thanks for replying Scott. I should have mentioned that $group.options[index] was the first syntax I tried. FF handles both. IE produces the same error for both syntaxes. To be honest, I was surprised at the apparent shortcut syntax. I'm not sure I should rely on it though. Basically, I just

[jQuery] setting attbitues

2007-04-19 Thread [EMAIL PROTECTED]
I discovered that if I want to set the class for an object, this is not the code $('#' + id).setAttribute("class", "myClass"); What is the correct syntax? Thanks, - Dave

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: Jörn, This would make field2 required only if field1 is blank: rules: { field2: { required: "#field1:blank" } } But I can't express that either field1 or field2 is required. How would I express that using pre/post-condition and implies? I was thinking a

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

2007-04-19 Thread Digislick
Hi, Thanks very much for explaining in more detail. I have just gotten back from work now (9:30pm). I will be trying your instructions out later because obviously I didn't do the right thing last time. Hopefully I can then get it working. Will report back later and let you know :-) Thanks a

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Jörn Zaefferer
Dmitrii 'Mamut' Dimandt schrieb: Jörn Zaefferer wrote: Dmitrii 'Mamut' Dimandt schrieb: Jörn Zaefferer wrote: I'm gonna take a look at that library for some inspiration. And maybe copy some validation methods (called rules at yav). Let me know if you have any specific reques

[jQuery] Re: ThickBox question

2007-04-19 Thread Christopher Jordan
Rob, Thanks heaps for sharing! I'll look at this in more detail later today, and holler if I have questions (if that's okay) :o) Chris Rob Desbois wrote: I also got put off jqModal initially, mainly because the TB styling was very nice but jqModal you have to put the effort in to get lookin

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Dmitrii 'Mamut' Dimandt
> > I guess what you want is something like: > > rules[1]='field1|equal||pre-condition'; > rules[2]='field2|regexp|^a-zA-Z$|post-condition'; > rules[3]='1|implies|2|Enter either field 1 or field 2'; > > rules[4]='field2|equal||pre-condition'; > rules[5]='field1|regexp|^a-zA-Z$|post-condition'; >

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-19 Thread Dan G. Switzer, II
Jörn, >Fully agreed, I'll make that optional. I've got another request for an >even more sophicistacted highlighting, seems like a good idea to >implement it not only as a boolean option. You could also just define that highlight function as the default option for an onHighlight setting. That wa

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Dan G. Switzer, II
Jörn, >This would make field2 required only if field1 is blank: > >rules: { > field2: { required: "#field1:blank" } >} > >But I can't express that either field1 or field2 is required. How would >I express that using pre/post-condition and implies? I was thinking about this the other day, and I

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Dmitrii 'Mamut' Dimandt
Jörn Zaefferer wrote: > > Dmitrii 'Mamut' Dimandt schrieb: >> Jörn Zaefferer wrote: >> >>> I'm gonna take a look at that library for some inspiration. And maybe >>> copy some validation methods (called rules at yav). >>> >>> Let me know if you have any specific requests for the jQuery >>> valida

[jQuery] Re: Memory problem

2007-04-19 Thread Michael Schwarz
Sorry, I forgot to mention that I'm using Internet Explorer 6 on Windows XP. With other web browser I don't see any problem. The example above will grow with every re-render. Michael On 4/19/07, Rob Desbois <[EMAIL PROTECTED]> wrote: Michael, The example works for me - what's the problem?

[jQuery] Re: Form + BlockUI plugin

2007-04-19 Thread Kush Murod
Also note when use xxx.block(form) form submits ok Kush Murod wrote: I am placing a form into blockUI like so $.blockUI(form) and then attaching form plugin like so .ajaxForm(options); Form pluging works perfect as long as it is not used with BlockUI, but as soon as you insert it into BlockUI

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Jörn Zaefferer
Dmitrii 'Mamut' Dimandt schrieb: Jörn Zaefferer wrote: I'm gonna take a look at that library for some inspiration. And maybe copy some validation methods (called rules at yav). Let me know if you have any specific requests for the jQuery validation plugin. That would be the pre-condi

[jQuery] Form + BlockUI plugin

2007-04-19 Thread Kush Murod
Hi guys, I am placing a form into blockUI like so $.blockUI(form) and then attaching form plugin like so .ajaxForm(options); Form pluging works perfect as long as it is not used with BlockUI, but as soon as you insert it into BlockUI submit does not really work --Kush

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-19 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: 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

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Dmitrii 'Mamut' Dimandt
Jörn Zaefferer wrote: > I'm gonna take a look at that library for some inspiration. And maybe > copy some validation methods (called rules at yav). > > Let me know if you have any specific requests for the jQuery > validation plugin. > That would be the pre-condition, implies and post-condition. T

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Jörn Zaefferer
SeViR schrieb: Dmitrii 'Mamut' Dimandt escribió: SeViR wrote: Wow. Thank you for the link to YAV, http://yav.sourceforge.net/ that I found on the university site. This is amazing! YAV is a fantastic JavaScript Form Validation library with a pair of years of develop. By now, we use this l

[jQuery] Re: Autocomplete plugin

2007-04-19 Thread James Trix
Thanks Guys I will port it to MSSQL tomorrow, Your right about the easy of use if the data is held in SQL as thats what I used in the first place to build the list and then exported it out of the database. I will use your example code once again that you posted a few posts up and will let you know

[jQuery] Re: Class doesn't support Automation?

2007-04-19 Thread Scott Sauyet
Chris Jordan wrote: function DeleteGroup(){ var $group = $("#GroupKeyID")[0]; var index = $group.selectedIndex; var groupname = $group[index]; $.dump(groupname); } Do you have a test page we could look at? Something looks suspicious there to me. In the first line, $group is

[jQuery] Re: XML Problems

2007-04-19 Thread Diego A.
Thanks for your reply Mike. Jesse replied a couple of minute before your came through... I've fixed that problem, my real question is (if you check again), why test 4 & 5 fail in IE7 (all test pass in FF as they should now that my typos are gone). On Apr 19, 2:02 pm, "Mike Alsup" <[EMAIL PROTECTE

[jQuery] Re: Memory problem

2007-04-19 Thread Rob Desbois
Michael, The example works for me - what's the problem? rob. On 4/19/07, Michael Schwarz [MVP] <[EMAIL PROTECTED]> wrote: Hi, I have a very simple page which will be refreshed from time to time. I build an example which will be called every 1000 msec to redner a html table with a button ins

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Rey Bango
This is excellent news, Jose. Me alegro tanto que ha decidido utilizar jQuery! :) We look forward to seeing the results of your projects and contributions to the jQuery effort. Thanks again! Rey Bango jQuery Project Team SeViR wrote: Hi there, recently I presented a seminar of JavaScri

  1   2   >