Re: [jQuery] Sorting items in jQuery pseudo-array

2007-03-26 Thread Bruce McKenzie
gt; Looks like I'm still about the only person that actually uses this. > I'll probably use it quite a lot. My current app is where I've got a bunch of forms that I want to rearrange themselves when a person submits one with a changed date field. Doesn't seem that e

[jQuery] Sorting items in jQuery pseudo-array

2007-03-26 Thread Bruce McKenzie
There was a thread on this list in October which indicates (if I read it right) that I ought to be able to rearrange some paragraphs as follows: $(function(){ jQuery.fn.sort = function() { return this.pushStack( [].sort.apply( this, arguments ), []); }; $("p.items").sort

Re: [jQuery] json deserialization

2007-03-17 Thread Bruce McKenzie
x27;, success : function(ret){ alert (ret.a) } } ); I believe the order in which you pass the params to $.ajax matters. Bruce -- Bruce McKenzie http://www.2MinuteExplainer.com ashutosh bijoor said the following on 3/17/2007 2:45 AM: > Well deserializing JSON is

Re: [jQuery] Good datepicker

2007-03-09 Thread Bruce McKenzie
> the one in the plugins folder but it doesn't allow for going backwards > on the calendar. I need to be able to select any date. > > Suggestions? > > Rey Bruce -- Bruce McKenzie http://www.2MinuteExplainer.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Using datePicker as a calendar

2007-03-08 Thread Bruce McKenzie
able, but also >> looking at the calendar as a whole, not just a date picker. >> >> I know this is not much help but I will follow this thread closely. >> >> Regards, >> Eugene >> >> On 3/5/07, *Bruce McKenzie* < [EMAIL PROTECTED] >>

[jQuery] Using datePicker as a calendar

2007-03-05 Thread Bruce McKenzie
Hello, I'd like to use the excellent datePicker plugin to make a bigger calendar that displays summary data from a database for each day in the month. I've got it working for the first month that displays, but I don't know how to display new data when the user clicks on the previous month or n

[jQuery] creating and inserting a form on-the-fly

2007-02-17 Thread Bruce McKenzie
unless, of course, that's considered good form :-) Am I overlooking something obvious? I saw a discussion here last month about problems creating the form element itself in jquery v 1.1.1 http://www.nabble.com/cant-append%28%29-form-objects-tf3095501.html#a8593734 but I can'

[jQuery] dimensions.js console.log error message

2007-01-28 Thread Bruce McKenzie
The version of dimensions.js available on the jquery plugins pages contains this on line 233 console.log(' ' + parent.id + ' ' + x + ' ' + y); which triggers an 'error-on-page' message in IE6. BTW, is there a packed version of this excellent plugin available? Bruce -- http://www.2MinuteEx

Re: [jQuery] Deserialize plugin with jQuery 1.1

2007-01-19 Thread Bruce McKenzie
Mike Alsup said the following on 1/19/2007 8:25 AM: >> I have been using the deserialize plugin to fill forms with JSON. But it >> doesn't work properly with jQuery 1.1 Here are two test pages: > > > Bruce, the problem is a result of this bug: > > http://jquery.com/dev/bugs/bug/804/ > > which

[jQuery] Deserialize plugin with jQuery 1.1

2007-01-19 Thread Bruce McKenzie
I have been using the deserialize plugin to fill forms with JSON. But it doesn't work properly with jQuery 1.1 Here are two test pages: This page uses an older version of jQuery (1.0, I think) and deserializes data into its forms as it

Re: [jQuery] find cause of uncaught exception

2006-12-14 Thread Bruce McKenzie
, > dataType:'html', > complete: function(){alert('done')} > }); > }); > > This is with FF 2.0. All my other Ajax scripts are working -- and this one > used to ... maybe it's something to do with FF ver

Re: [jQuery] CPAN Modul for jQuery ?

2006-11-23 Thread Bruce McKenzie
___ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > > -- Bruce McKenzie http://www.2MinuteExplainer.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Form Validation (no Ajax)

2006-11-13 Thread Bruce McKenzie
(){ // do Ajax or whatever } } $("#form1").validate(options); }); Thanks Ben & Jörn Bruce -- Bruce McKenzie http://www.2MinuteExplainer.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Form Validation (no Ajax)

2006-11-13 Thread Bruce McKenzie
tJSON( 'some/app.cgi', pars, function(ret){ alert(ret.someVal); } ); return false }); }); Thx, Bruce -- Bruce McKenzie http://www.2MinuteExplainer.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Extended tabs in Thickbox iframe

2006-10-20 Thread Bruce McKenzie
Hello. I've run into a problem combining two plugins. When displaying a page that uses the extended tabs plugin jq-tabs v 0.9 (http://jquery.com/docs/Plugins/ExtendedTabs/) in an iframe created by Thickbox v.2.1, the tabs don't work, and I get this error: document.defaultView.getComputedStyl

[jQuery] Column totals in sortable table

2006-10-14 Thread Bruce McKenzie
What's an efficient way to keep column totals at the bottom of a table sorted with the tableSorter plugin? Thanks. -- Bruce http://www.2MinuteExplainer.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] When / how did you find out about jQuery?

2006-09-27 Thread Bruce McKenzie
eWeek -- August 30 http://www.eweek.com/article2/0,1895,2010602,00.asp -- Bruce McKenzie http://www.2MinuteExplainer.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Help finding parent element

2006-09-23 Thread Bruce McKenzie
What's the preferred/simplest way to get hold of the immediate parent of a DOM element? I've got a table in which some cells are editable (I'm using the excellent editable plugin by Dylan Verheul). When a cell is changed, the database gets updated and the Ajax callback needs to recalculate the