[jQuery] Re: Reducing this code.

2007-04-16 Thread Klaus Hartl
Klaus Hartl schrieb: I'd choose this approach in order to avoid typing the class name "on" in more than one place (which may lead to errors if you want to change that one and forget it somewhere - not here maybe but in larger chunks of code). It actually avoids duplicating the whole code to a

[jQuery] Re: Reducing this code.

2007-04-16 Thread Klaus Hartl
Sean Catchpole schrieb: Hello, Perhaps this would be a faster way of typing this (yet still easy to read): $(function(){ $("fieldset").find("intput,select,textarea") .focus(function(){ $(this).parent().addClass("on"); }) .blur(function(){ $(this).parent().removeClass("on"); }); });

[jQuery] Re: Reducing this code.

2007-04-16 Thread Karl Rudd
In Firefox you can use the "Profile" feature of Firebug ( http://www.getfirebug.com ). For most other browsers you'd have to stick with something like this: var start = new Date().getTime(); // stuff to time var milliseconds = (new Date().getTime()) - start; Karl Rudd On 4/17/07, [EMAIL PR

[jQuery] Re: Reducing this code.

2007-04-16 Thread [EMAIL PROTECTED]
Thanks guys. As it would be negligible, there's no need to worry. But how would you test speed in js? (My background is php) Aaron Heimlich wrote: Off hand I'd have to say Sean's is faster, since it's only searching for "every fieldset in the document" once instead of three times like your

[jQuery] Re: Reducing this code.

2007-04-16 Thread Karl Rudd
Good point Aaron. I agree, I think Sean's would be better, and clearer. Karl Rudd On 4/17/07, Aaron Heimlich <[EMAIL PROTECTED]> wrote: Off hand I'd have to say Sean's is faster, since it's only searching for "every fieldset in the document" once instead of three times like yours (unless jQuer

[jQuery] Re: Reducing this code.

2007-04-16 Thread Aaron Heimlich
Off hand I'd have to say Sean's is faster, since it's only searching for "every fieldset in the document" once instead of three times like yours (unless jQuery does some result caching that I'm not aware of, in which case the difference is probably negligible). But, as Karl said, you'd really have

[jQuery] Re: Reducing this code.

2007-04-16 Thread Karl Rudd
You'd have to test it. Could be either. Karl Rudd On 4/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Thanks guys. Very helpful. So, which would be faster... $("fieldset input, fieldset select, fieldset textarea") or $("fieldset").find("intput,select,textarea") Thanks x 1,000

[jQuery] Re: Reducing this code.

2007-04-16 Thread [EMAIL PROTECTED]
Thanks guys. Very helpful. So, which would be faster... $("fieldset input, fieldset select, fieldset textarea") or $("fieldset").find("intput,select,textarea") Thanks x 1,000,000 Karl Rudd wrote: You're on the right track. Yes you can join (or "chain") the "focus" and "blur" functions to

[jQuery] Re: Reducing this code.

2007-04-16 Thread Karl Rudd
You're on the right track. Yes you can join (or "chain") the "focus" and "blur" functions together. You also don't need to "return false" in the "focus" and "blur" functions, as that would/should "cancel" the event. You can also replace $(document).ready( function() {... with $( function() {..

[jQuery] Re: Reducing this code.

2007-04-16 Thread Sean Catchpole
Hello, Perhaps this would be a faster way of typing this (yet still easy to read): $(function(){ $("fieldset").find("intput,select,textarea") .focus(function(){ $(this).parent().addClass("on"); }) .blur(function(){ $(this).parent().removeClass("on"); }); }); Also note that http://www.j

[jQuery] Re: Autocomplete plugin status2

2007-04-16 Thread Dylan Verheul
On 4/17/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: Another issue is Opera insisting on submitting the form when pressing enter, even with event.preventDefault() called at the right moment, at least it works in IE and Firefox. Anyone got an idea how that can be avoided? I've never been able

[jQuery] Reducing this code.

2007-04-16 Thread fambizzari
I am just beginning my journey with jQuery and would like to know how the following could be summarised: $(document).ready ( function() { $("fieldset input, fieldset select, fieldset textarea").focus ( function()

[jQuery] Re: Find Y position of an element on the page

2007-04-16 Thread Dan G. Switzer, II
Brandon, >Yeah I think I understand what you are saying but this has absolutely >nothing to do with the offset method or the dimensions plugin and >everything to do with positioning and css. You could however clone the >element, append to the body, set position absolute and top and left >values

[jQuery] Re: Multiple .bind

2007-04-16 Thread Brandon Aaron
I believe this is the issue you are experiencing. http://dev.jquery.com/ticket/935 -- Brandon Aaron On 4/16/07, DaveG <[EMAIL PROTECTED]> wrote: I'm binding a click function. If I include either one of the binds it works -- so the syntax and object references are correct. If I include both b

[jQuery] Re: Library showdowns

2007-04-16 Thread Sean Catchpole
Jeffrey and Glen, Allow me to explain currying. Imagine if you will the following function (written in javascript) add = function (a,b) { return a+b } I can now call add(3,7) and it will return 10. A language that allows currying would allow me to pass only one variable and it would return a new

[jQuery] Multiple .bind

2007-04-16 Thread DaveG
I'm binding a click function. If I include either one of the binds it works -- so the syntax and object references are correct. If I include both binds they do not work. No errors, they just don't trigger. function tocDisplay(e){ $('#toc_content')[e.data.mode](); } $('#toc_he

[jQuery] Re: $().append() problem

2007-04-16 Thread [EMAIL PROTECTED]
Yes. That makes more sense. Thanks. On Apr 16, 9:28 pm, "Jeff S." <[EMAIL PROTECTED]> wrote: > Are you sure appending is what you want to do? Appending to an > does not really make sense to me. Maybe using the after() or > before() would make more sense. > > DIV beforeappend: > > DIV afterapp

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

2007-04-16 Thread limodou
On 4/17/07, Rick Faircloth <[EMAIL PROTECTED]> wrote: > You would probably need to return a more complex object from the > server that contained a boolean in addition to your text. Structures > and JSON/WDDX work well for that kind of thing. You would then use > the boolean to trigger an if (

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

2007-04-16 Thread Rick Faircloth
> You would probably need to return a more complex object from the > server that contained a boolean in addition to your text. Structures > and JSON/WDDX work well for that kind of thing. You would then use > the boolean to trigger an if () statement. Ummm could you elaborate a little on th

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

2007-04-16 Thread Rick Faircloth
Check out this demo, Daemach, which uses Sean's code below: http://bodaford.whitestonemedia.com/html/test_toggle_submit_button.cfm Rick -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daemach Sent: Monday, April 16, 2007 10:11 PM To: jQuery (

[jQuery] Re: New plugin: frameReady()

2007-04-16 Thread Daemach
So I did - thanks for the catch ;) On Apr 16, 7:29 pm, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote: > looks like you got it! but you forgot to close the iframe in the demo xhtml > doc! > > src="/demos/frameReady/frametest.cfm"> > > On 4/16/07, Daemach <[EMAIL PROTECTED]> wrote: > > > > > > > frameR

[jQuery] Re: New plugin: frameReady()

2007-04-16 Thread Ⓙⓐⓚⓔ
looks like you got it! but you forgot to close the iframe in the demo xhtml doc! On 4/16/07, Daemach <[EMAIL PROTECTED]> wrote: frameReady works a lot like $(document).ready() with a few advantages when working with frames: $.frameReady(function,target,remote,jQuery); -- Waits fo

[jQuery] Re: $().append() problem

2007-04-16 Thread Jeff S.
Are you sure appending is what you want to do? Appending to an does not really make sense to me. Maybe using the after() or before() would make more sense. DIV before append: DIV after append: INPUT before append: INPUT after append: On Apr 16, 9:33 pm, "[EMAIL PROTECTED]" <[EMAIL PROT

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

2007-04-16 Thread Daemach
You would probably need to return a more complex object from the server that contained a boolean in addition to your text. Structures and JSON/WDDX work well for that kind of thing. You would then use the boolean to trigger an if () statement. I On Apr 16, 6:19 pm, "Rick Faircloth" <[EMAIL PROT

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

2007-04-16 Thread Daemach
Actually to re-enable a disabled element you need to remove the disabled attribute altogether - use: $(form).find("[EMAIL PROTECTED]").removeAttr("disabled"); or $ ("input:submit").removeAttr("disabled"); for short. On Apr 16, 9:42 am, "Rick Faircloth" <[EMAIL PROTECTED]> wrote: > Hi, all...

[jQuery] New plugin: frameReady()

2007-04-16 Thread Daemach
frameReady works a lot like $(document).ready() with a few advantages when working with frames: $.frameReady(function,target,remote,jQuery); -- Waits for the DOM to be ready in the target frame before running code. -- It can be run from within any frame or the root document. -- Function is a sta

[jQuery] Re: $().append() problem

2007-04-16 Thread [EMAIL PROTECTED]
I just noticed that I can append OK in IE6 to a block, but not to a form element. In other words, appending to: <- does not work Appending to: <- works On Apr 16, 8:13 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I am appending a hidden form field similar to this: > > $("#some_id")

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

2007-04-16 Thread Rick Faircloth
> Why are you declaring functions inside of your $(document).ready That was just a hangover from where I pulled that code... originally it was part of Jorn's Validation plug-in... Since you've created an actual function called "toggleSubmit" to toggle the button, how would I trigger that functio

[jQuery] $().append() problem

2007-04-16 Thread [EMAIL PROTECTED]
I am appending a hidden form field similar to this: $("#some_id").append(""); Works fine in all Mac browsers but testing in IE6 on Windows it appears to not to get added to the DOM tree. The hidded value is not available when the form is submitted. Also tried $().html() IE6 reports "Unexpected

[jQuery] Re: serialize problems w/ select menu on IE

2007-04-16 Thread Brandon Aaron
Adding the value attribute should solve the problem but if it doesn't you might want to try using the form plugin. It provides a very robust serialize method called formSerialize. http://www.malsup.com/jquery/form/#api -- Brandon Aaron On 4/16/07, Brad Perkins <[EMAIL PROTECTED]> wrote: I'm u

[jQuery] Re: Library showdowns

2007-04-16 Thread Brandon Aaron
I believe Interface has added the ability to stop and maybe pause. The last time I played with Dojo it was able to pause an animation but that was a while back. YUI and Scriptaculous ... I'm not sure off hand. I'd have to venture into their docs/source. -- Brandon Aaron On 4/16/07, Brian Cherne

[jQuery] Re: Find Y position of an element on the page

2007-04-16 Thread Brandon Aaron
Yeah I think I understand what you are saying but this has absolutely nothing to do with the offset method or the dimensions plugin and everything to do with positioning and css. You could however clone the element, append to the body, set position absolute and top and left values to the element

[jQuery] Re: Trouble with BlockUI in IE 7

2007-04-16 Thread C-J Berg
I did a quick test and found out that the spinner is related to the cursor style. I changed the code like this in my sample page: window.setTimeout('$.unblockUI();$("*").css("cursor","default");', 5000); That made the spinner stop. // C-J On Apr 17, 2:39 am, "C-J Berg" <[EMAIL PROTECTE

[jQuery] Re: Trouble with BlockUI in IE 7

2007-04-16 Thread C-J Berg
It works great! Thanks a lot! The page gets a little too big when it's blocked, but that can be related to my simple CSS or even impossible to fix in quirks mode. That's not a problem anyway. By the way, I noticed the page load indicator in IE 7 (the spinner image on the page's tab) starts spinn

[jQuery] Re: Library showdowns

2007-04-16 Thread Glen Lipka
On 4/16/07, Sean Catchpole <[EMAIL PROTECTED]> wrote: Interesting find Karl, Thanks I'm still trying to see if I can find a graceful way to implement curried functions, but that method is elegant in it's own sense. ~Sean Does this have something to do with Indian food? Seriously though, if

[jQuery] Re: Trouble with BlockUI in IE 7

2007-04-16 Thread C-J Berg
Hi Mike, Yes, it's related to quirks mode. However, changing this old site to standards mode wouldn't be fun, so I'd rather not do it. Maybe you can use document.compatMode to switch between different rendering techniques in IE? (http://msdn.microsoft.com/workshop/author/ dhtml/reference/propert

[jQuery] Re: Library showdowns

2007-04-16 Thread Jeffrey Kretz
Could you give more specifics about what you'd like to accomplish? Or what you mean by graceful? The wiki article on Currying gives a javascript example: -- function addN(n) { var curry = function(x) { return x + n; }; return curry; }

[jQuery] Re: Library showdowns

2007-04-16 Thread Brian Cherne
There's got to be someone on the list who knows of something jQuery can't do that Scriptaculous, YUI or Dojo can do. For instance, does any know if another library can cancel/freeze/stop an animation that is in progress? Brian. On 4/16/07, Sean Catchpole <[EMAIL PROTECTED]> wrote: Interesting

[jQuery] Re: Trouble with BlockUI in IE 7

2007-04-16 Thread Mike Alsup
I think I fixed the problem. Can you try the latest version (1.08)? http://dev.jquery.com/browser/trunk/plugins/blockUI/jquery.block.js?format=txt Mike On 4/16/07, Mike Alsup <[EMAIL PROTECTED]> wrote: Hi C-J, I think the problem has to do with quirks mode. Can you try it with a strict do

[jQuery] Re: serialize problems w/ select menu on IE

2007-04-16 Thread Jeffrey Kretz
I might be barking up the wrong tree, but I would suggest assigning a specific value to each of the option elements and give it another try. JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brad Perkins Sent: Monday, April 16, 2007 4:25 PM To:

[jQuery] Re: Trouble with BlockUI in IE 7

2007-04-16 Thread Mike Alsup
Hi C-J, I think the problem has to do with quirks mode. Can you try it with a strict doctype? Mike I ran into a problem with BlockUI when I tried to use it on one of my company's old sites (so please, don't get started on the awful table- based layout). The overlay and the message are incorr

[jQuery] Re: Form plugin: file upload question

2007-04-16 Thread cdomigan
And by the way, thanks so much for this plugin Mike. It's the best thing since sliced bread, even that really really tasty bread - the stuff with big seeds in it. M

[jQuery] Re: Library showdowns

2007-04-16 Thread Sean Catchpole
Interesting find Karl, Thanks I'm still trying to see if I can find a graceful way to implement curried functions, but that method is elegant in it's own sense. ~Sean

[jQuery] Re: Library showdowns

2007-04-16 Thread Karl Rudd
Do you mean something like this?: http://www.dustindiaz.com/javascript-curry/ Karl Rudd On 4/17/07, Sean Catchpole <[EMAIL PROTECTED]> wrote: Jake, Here's a problem that jQuery can't do. It doesn't support Curried Functions. Now that's not really fair because javascript does not supp

[jQuery] Re: Horizontal Menu Plugin

2007-04-16 Thread Jeff S.
Not exactly sure.. Maybe minitabs or "fancy menu"? At one point I was gonna work on a jQuery plugin to do something like one of these, but got sidetracked. http://www.frequency-decoder.com/demo/animated-minitabs/ http://www.simplebits.com/bits/minitabs.html http://www.rootarcana.com/test/smartm

[jQuery] Re: Library showdowns

2007-04-16 Thread Sean Catchpole
Jake, Here's a problem that jQuery can't do. It doesn't support Curried Functions. Now that's not really fair because javascript does not support curried functions either. http://en.wikipedia.org/wiki/Curried_function But I can think of a way that one could hack the same effect, can you?

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

2007-04-16 Thread Sean Catchpole
Rick, onInvalid: function(form) { Did you mean onInvalid = function(form){ Why are you declaring functions inside of your $(document).ready() ? Below I've attached working code, give it a try: ~Sean http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; xml:la

[jQuery] Re: Updated plugin: jqTOC -- table of contents

2007-04-16 Thread DaveG
Joel Birch wrote: This looks awesome Dave. I like that it is a more "finished" product than my plugin so there is less left to the developer to do to get it working and looking great. Not so sure about more finished, but thanks. You code helped a lot, but much of it was beyond my current under

[jQuery] serialize problems w/ select menu on IE

2007-04-16 Thread Brad Perkins
I'm using jQuery 1.1.2. I'm using this code to serialize form data before an Ajax submit. var params = $('input,select,textarea').serialize(); The form has multiple select menus. On IE 6 and IE 7 the value from one select is always blank when serialized regardless of the selected option. This

[jQuery] Re: to change tab for enter

2007-04-16 Thread BethaSidik
I've created the plugin for this purposes, name is enter2tab plugin. This plugin created for my project, that develop a web application that behave like normal window application, which can use enter to move on the next field. The plugin needs you to explicitly add a tabindex for every element

[jQuery] Re: Updated plugin: jqTOC -- table of contents

2007-04-16 Thread DaveG
It might be nice to have an "autohide" type behavior after x seconds on that Content menu. Basically a delay on closing after clicking? Not sure that would be to intuitive. A delay on closing after mouse out might make sense though. I was considering triggering on mouse over, so that might w

[jQuery] Re: Form plugin: file upload question

2007-04-16 Thread Mike Alsup
Ah, I love those kind of problems! Glad you figured it out. Cheers! Mike On 4/16/07, cdomigan <[EMAIL PROTECTED]> wrote: Whoopsy For future reference - when wanting functionality from the 0.96 version of the Form plugin, make sure NOT to include the 0.91 version... Sorry everyone! :)

[jQuery] Re: Updated plugin: jqTOC -- table of contents

2007-04-16 Thread DaveG
The other thing I need to fix is IE6 support for fixed positioning. IE6 now works, and 5 *should* work.

[jQuery] Problem with AJAX and links

2007-04-16 Thread digital spaghetti
Hey folks, I've been working on this one with a little help, but i'm now stuck. I have an AJAX interface, where I want all internal links to load content into a specific div called .content. The issue is it works, except for link in content thats loaded into the div. So far, here is what I ha

[jQuery] Re: Form plugin: file upload question

2007-04-16 Thread cdomigan
Whoopsy For future reference - when wanting functionality from the 0.96 version of the Form plugin, make sure NOT to include the 0.91 version... Sorry everyone! :)

[jQuery] Re: Autocomplete plugin status2

2007-04-16 Thread Jörn Zaefferer
Jörn Zaefferer schrieb: Hi folks, for anyone interested in the progess of the autocomplete plugin I've uploaded the current demo: http://jquery.bassistance.de/autocomplete/ I think I've fix the most serious issues. The latest version is in svn, the demo at the same URL. I've got reports ab

[jQuery] Re: Showing a bind(click...) as clickable

2007-04-16 Thread Jörn Zaefferer
wyo schrieb: On 15 Apr., 18:27, "Brian Cherne" <[EMAIL PROTECTED]> wrote: You could chain this on the end of $('#prev') .hover( function(){ $(this).addClass('isOver'); }, // don't forget the comma function(){ $(this).removeClass('isOver'); } ); ".hover" is this a jQuery functio

[jQuery] Trouble with BlockUI in IE 7

2007-04-16 Thread C-J Berg
(If this is a duplicate post, I'm sorry. I created it on the Nabble Forums before I joined the mailing list, so it ended up on the forum, but the mailing-list didn't accept it.) Hi, I ran into a problem with BlockUI when I tried to use it on one of my company's old sites (so please, don't get st

[jQuery] Horizontal Menu Plugin

2007-04-16 Thread James
I recall a horizontal navigation menu which when the user clicked on an option, the background-color from the selected menu item slid dynamically over to the newly clicked item. Does anyone recall the name of this plugin / feature, or the site where I might find it? I've been looking with no real

[jQuery] Re: Form plugin: file upload question

2007-04-16 Thread Jan Sorgalla
> > Just to make sure: Do you have enctype="multipart/form-data" as > > attribute in your form tag? > > The plugin does that for you. :-) Ok ;) Just saw guys debugging for hours before they noticed that they just forgot it... Jan

[jQuery] Re: New to jQuery and struggling

2007-04-16 Thread skimber
On Apr 16, 2:36 pm, Joel Birch <[EMAIL PROTECTED]> wrote: > Yes there are always exceptions, which is I have been wracking my > brain trying to think of the one ones that apply here, so thanks for > your input Dan. I use JS/jQuery inline when I'm working on a dynamic PHP site with an include

[jQuery] Re: Form plugin: file upload question

2007-04-16 Thread Mike Alsup
Just to make sure: Do you have enctype="multipart/form-data" as attribute in your form tag? The plugin does that for you. :-)

[jQuery] Re: New to jQuery and struggling

2007-04-16 Thread wls
> However, I am trying to add an additional $(document).ready(function() > {}); in the middle of the document (i.e. inline) but it is not working > and i don't know why. I don't believe that you're going to find behavior chained. Doing so raises the interesting question of does your second funct

[jQuery] Re: Find Y position of an element on the page

2007-04-16 Thread Dan G. Switzer, II
Brandon, >Could you send me some example code of the problem you are having? I >can't reproduce the issue you describe. Which browser is it in? The >offset method goes to great lengths to squash browser inconsistencies >with getting the offset of an element and there are lots of them. I'm >sure I

[jQuery] Re: to change tab for enter

2007-04-16 Thread Fabyo
Thanks perfect, perfect, perfect thanks Robert Roberto Ortelli wrote: > > > Just a first attempt, I don't like it, and you need to add a few lines > of code ; ) > > $("[EMAIL PROTECTED]").bind("keydown",function(e){ > if (e.keyCode == 13) { > tabIndex = parseFloat($(this).attr("

[jQuery] Re: to change tab for enter

2007-04-16 Thread Roberto Ortelli
Just a first attempt, I don't like it, and you need to add a few lines of code ; ) $("[EMAIL PROTECTED]").bind("keydown",function(e){ if (e.keyCode == 13) { tabIndex = parseFloat($(this).attr("tabindex")) + 1; $("[EMAIL PROTECTED]")[tabIndex].focus(); return false; } }

[jQuery] Re: JavaScript Hijacking - Jquery among the vulnerable ones

2007-04-16 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hi. > In reality, I have yet to see any evidence that this problem actually > exists in the wild. I'd caution against dismissing this possibility out of hand. > A potential hacker would need to find a site that delivers private data > in this very specific fashion, build a page to exploit that,

[jQuery] Re: Form plugin: file upload question

2007-04-16 Thread Jan Sorgalla
HI, On 16 Apr., 21:42, "cdomigan" <[EMAIL PROTECTED]> wrote: > I'm having the same problem. The value (ie the path) in the file field > is passed to my server, but my $_FILES array is empty! > > Any ideas? Just to make sure: Do you have enctype="multipart/form-data" as attribute in your form tag

[jQuery] Re: Showing a bind(click...) as clickable

2007-04-16 Thread wyo
On 15 Apr., 18:27, "Brian Cherne" <[EMAIL PROTECTED]> wrote: > You could chain this on the end of $('#prev') > > .hover( >function(){ $(this).addClass('isOver'); }, // don't forget the comma >function(){ $(this).removeClass('isOver'); } > ); > ".hover" is this a jQuery function? Where is i

[jQuery] Re: AJAX datagrid (paging & sorting) with jQuery?

2007-04-16 Thread Jörn Zaefferer
Richard Thomas schrieb: I would check out the qjuery version of ext http://extjs.com/ Its got some very nice looking sortable table features Also the jquery plugin http://motherrussia.polyester.se/jquery-plugins/tablesorter/ You can also check out my jqpie http://projects.cyberlot.net/trac/j

[jQuery] Re: Form plugin: file upload question

2007-04-16 Thread Mike Alsup
Hmm, that's weird. Do you have a sample page? What browser are you using? Mike On 4/16/07, cdomigan <[EMAIL PROTECTED]> wrote: I'm having the same problem. The value (ie the path) in the file field is passed to my server, but my $_FILES array is empty! Any ideas? On Apr 3, 4:30 am, Kush

[jQuery] Re: Form plugin: file upload question

2007-04-16 Thread cdomigan
I'm having the same problem. The value (ie the path) in the file field is passed to my server, but my $_FILES array is empty! Any ideas? On Apr 3, 4:30 am, Kush Murod <[EMAIL PROTECTED]> wrote: > Thanks Mike, I still had old form script included down below, my bad :) > > Mike Alsup wrote: > > >>

[jQuery] Re: Question about tablesorter plugin

2007-04-16 Thread Andy Matthews
Have you tried just recalling tableSorter() on that table? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, April 16, 2007 2:07 PM To: jquery-en@googlegroups.com Subject: [jQuery] Question about tablesorter plugin

[jQuery] Re: Library showdowns

2007-04-16 Thread Ⓙⓐⓚⓔ
Make a challenge that you, personally, can't do in jQuery, and you assume folks can't do it with other libraries! That would be a challenge! -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ

[jQuery] Re: Updated plugin: jqTOC -- table of contents

2007-04-16 Thread DaveG
The only other (and extremely minor) thing I could think of, as far as feedback for you, is the situation where the browser's viewport height is less than the content ment's height. If that happens there is no way to get to the "bottom" of the menu. I'm not sure of the best way to remedy that

[jQuery] Question about tablesorter plugin

2007-04-16 Thread
Hi, I am using the tablesorter plugin and its great. I have one question. I allow the end users to remove rows from the table, to implement this I determine which s are selected and then call jQuery.hide(). My question: after hiding a specific row(s), how can I reinitialize the table's od

[jQuery] Re: jquery modal form not loading - help!

2007-04-16 Thread abba bryant
I get the spinner and no form in firefox 1.5 According to firebug the get request is made and the returned page looks like it should work. Tetsuo-3 wrote: > > > Hi Rob > > Thanks for your help. I've looked at my scripts and can't see that it > is requesting anything from domain, so I don't

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

2007-04-16 Thread Rick Faircloth
Hmmm... can't get it to enable/disable the submit button at all... with either solution. Would the code I showed you be likely to work with this code? function CalculateMortgage(){ var Params = {}; $("input:text").each(function(){ Params[$(this).a

[jQuery] Fading in Firefox?

2007-04-16 Thread Paul
This is probably another simple one. (I searched the archive but didn't see anything-maybe I'm not searching well.) I can't get the Fade effect to work in Firefox, though it does work in IE. In Firefox the element just disappears suddenly rather than fading out. Code below: $('#podContai

[jQuery] Re: to change tab for enter

2007-04-16 Thread Fabyo
[b]onsubmit[/b] = ( is use Unobtrusive JavaScript Leonardo K wrote: > > Start tabindex with number 1. > > Without label: > > >Campo 1: >Campo 2: >Campo 3: >Campo 4: >Campo 5: > > > > With label: > > >Campo1: name="campo1" >

[jQuery] Re: AJAX datagrid (paging & sorting) with jQuery?

2007-04-16 Thread Richard Thomas
I would check out the qjuery version of ext http://extjs.com/ Its got some very nice looking sortable table features Also the jquery plugin http://motherrussia.polyester.se/jquery-plugins/tablesorter/ You can also check out my jqpie http://projects.cyberlot.net/trac/jqpie/wiki/ExampleAuto, but

[jQuery] Re: AJAX datagrid (paging & sorting) with jQuery?

2007-04-16 Thread Jeffrey Kretz
Jack's Ext project now supports jQuery. An example of the paged datagrid is at: http://extjs.com/deploy/ext/examples/grid/paging.html You would need to supply the server-side code, though. JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jö

[jQuery] Re: Bug : IE + slidetoggle + input radio

2007-04-16 Thread Sean Catchpole
Nash, do you have an example we can look at? ~Sean

[jQuery] Re: Calendar / Schedule Component.

2007-04-16 Thread Sean Catchpole
Google Calendar has several widgets/gadgets. ~Sean

[jQuery] Re: to change tab for enter

2007-04-16 Thread Leonardo K
Start tabindex with number 1. Without label: Campo 1: Campo 2: Campo 3: Campo 4: Campo 5: With label: Campo1: Campo2: Campo3: Campo4: Campo5:

[jQuery] Re: Updated plugin: jqTOC -- table of contents

2007-04-16 Thread [EMAIL PROTECTED]
Dave, Thanks for the consideration on the select->close option. The only other (and extremely minor) thing I could think of, as far as feedback for you, is the situation where the browser's viewport height is less than the content ment's height. If that happens there is no way to get to the "b

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

2007-04-16 Thread Sean Catchpole
Hi Rick, $(form).find("[EMAIL PROTECTED]").attr("disabled","disabled"); This should work just fine (although you are missing an ending ] ). As a slightly shorter notation you can do: $("input:submit",form).attr("disabled","disabled"); $(form).find("[EMAIL PROTECTED]").attr("disabled", ""

[jQuery] Re: to change tab for enter

2007-04-16 Thread Fabyo
It functioned perfect, but it would have as to function without using labels? my formu: Campo 1: Campo 2: Campo 3: Campo 4: Campo 5: Roberto Ortelli wrote: > > > Fabyo, > pay attention, the solution below only works if you have a form

[jQuery] [jqUploader] What with users without flash ?

2007-04-16 Thread Jan Koprowski
Hi ! When I start use this extension i hope that when the browser doesn't have flash field will be "normal" but not. I change (almost everything) to get this effect but the main problem is: var $el = jQuery('<' + opts.elementType + ' id="'+containerId+'" class="' + opts.cls + '" style="width:'+o

[jQuery] Re: viewportCenter() plugin now in beta...

2007-04-16 Thread Roman Weich
Giant Jam Sandwich schrieb: Hey Roman, Thanks for taking a look in Opera. The plugin actually does support percentages. The pixel widths I provided in the demo are just for demonstration purposes. If you do use a percentage though, and the user resizes the viewport, it will not maintain a perf

[jQuery] Re: Updated plugin: jqTOC -- table of contents

2007-04-16 Thread Andy Matthews
Great plugin by the way. It might be nice to have an "autohide" type behavior after x seconds on that Content menu. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of DaveG Sent: Monday, April 16, 2007 11:49 AM To: jquery-en@googlegroups.com Subje

[jQuery] Re: Library showdowns

2007-04-16 Thread Glen Lipka
On 4/16/07, Brian Cherne <[EMAIL PROTECTED]> wrote: This is a great idea... and very useful comparison... it might be interesting to see more tasks that are common in DHTML programming: - how to infuse ajax content into a dom element - how to create a tabbed interface (what files, what markup,

[jQuery] Re: Updated plugin: jqTOC -- table of contents

2007-04-16 Thread DaveG
> Very nice work. And kudos on a nice, working demo. I always > appreciate when I can see something cool in action and immediately > start thinking about where I could put it to use. Thanks -- glad it's readable. > Suggestions: (I know it is trivial to hack the script manually, > but ...) A

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

2007-04-16 Thread Rick Faircloth
Hi, all... Will the "onInvalid" and "onValid" lines in the code below work to enable & disable a submit button? Rick $(document).ready(function(){ onInvalid: function(form) { $(form).find("[EMAIL PROTECTED]").attr("disabled", "disabled"); }

[jQuery] AJAX datagrid (paging & sorting) with jQuery?

2007-04-16 Thread Jörn Zaefferer
Hi folks, has anyone developed a datagrid that supports paging and sorting via AJAX using jQuery? Is there any code or plugin I've totally missed? Any examples, reports about certain difficulties (maybe even a jQuery-based datagrid with JSF) are highly appreciated. Regards -- Jörn Zaefferer

[jQuery] Re: Trying to get slideshow working

2007-04-16 Thread BKDesign Solutions
Hi, http://interface.eyecon.ro/docs/slideshow I have probably spent 15 hours trying to get this to work like the demo. Now that only shows my lack of knowledge. I have aslo had two people contact me asking if I know how to, or know anyone who can get this working. If someone knows how to cr

[jQuery] Re: JavaScript Hijacking - Jquery among the vulnerable ones

2007-04-16 Thread Markus Peter
On 16.04.2007, at 18:02, Jeffrey Kretz wrote: How would this work exactly? I thought that session cookies and file cookies are only passed by the browser in a request to a matching domain? Or would it be something like this: 1. Log into Washington Mutual Bank Account (20 minute se

[jQuery] Re: JavaScript Hijacking - Jquery among the vulnerable ones

2007-04-16 Thread Jeffrey Kretz
Here's the part I'm confused about: > On 16.04.2007, at 17:01, Matt Kruse wrote: > ... > You can steal personal information from other sites, if users stay in > a cookie-based session while surfing on other pages. > ... How would this work exactly? I thought that session cookies and file coo

[jQuery] Re: Library showdowns

2007-04-16 Thread Brian Cherne
This is a great idea... and very useful comparison... it might be interesting to see more tasks that are common in DHTML programming: - how to infuse ajax content into a dom element - how to create a tabbed interface (what files, what markup, what custom code) - how to create a modal popup Some

[jQuery] Re: JavaScript Hijacking - Jquery among the vulnerable ones

2007-04-16 Thread Markus Peter
On 16.04.2007, at 17:01, Matt Kruse wrote: In reality, I have yet to see any evidence that this problem actually exists in the wild. It's a theoretical security concern (not even a flaw) that is interesting but has very little practical application. You can steal personal information from oth

  1   2   >