Re: [jQuery] util plugins, was: What tools ...

2007-01-24 Thread Stephen Howard
Consider posting your plugins to JSAN (www.openjsan.org). Paul McLanahan wrote: It would be nice to be able to contribute to a folder like that. I have several little plugins that I use as helpers on larger projects that I'm sure others would find useful as well. Is there a way to easily

Re: [jQuery] Designing for reuse

2006-11-30 Thread Stephen Howard
I know we're all fond of the elegance of chaining, but would it be the least confusing to write it like: var gridControl = new Grid( '#grid' ) where: function Grid( dom_string ) { jQuery( dom_string ).each( function() { instantiate here... } ); ... } Remember not everything needs to

Re: [jQuery] jQuery API discussion

2006-10-17 Thread Stephen Howard
I'd like to throw in my support for coalescing all the httprequest stuff into a request(method,{args}) method. This is much closer to how I currently do my xhr stuff outside of jquery Mark Gibson wrote: Why not just .request(method, options) or .http() After all AJAX is just a bottle of

Re: [jQuery] Selected value in dropdownlist

2006-10-05 Thread Stephen Howard
if ddlCourse is the select box, you can simplify your code to this, but I'm not sure why it isn't working: $(function() { $('#ddlCourse).change( function() { $('#class').load( 'filter_report.asp', { ajax: 1, cod_course: this.value } ); }); }); Have you tried doing an

Re: [jQuery] String Parsing

2006-10-03 Thread Stephen Howard
try using a regex and matching ([^\]+$) I'm not up on my \ escaping for javascript, so you may need a different number of \'s in there to make it work Tombo wrote: this might not be jquery related, but i noticed there are a lot of savvy javascript programmers in this mailing list. i want to

Re: [jQuery] Accessibility. Take it Seriously in Your Web Apps.

2006-09-11 Thread Stephen Howard
Consider your own independence. Now consider needing to rely on others for many tasks in your life. Why would someone with disabilities be any less desirous of independence than yourself? Sure, it's a bit of a hassle from a developer's point of view when you have so much else already

Re: [jQuery] checkbox items with same name

2006-09-06 Thread Stephen Howard
I think that this might work, though I haven't tried combining attribute tests and pseudo classes before: $('[EMAIL PROTECTED]:checked') Shawn's solution below won't work for you because it is searching on ids rather than names, which is what you have. Shawn Tumey wrote: On 9/6/06, *Aljosa

Re: [jQuery] filter() on attributes?

2006-09-05 Thread Stephen Howard
Try $('#foo [EMAIL PROTECTED]bar]').val() Dossy Shiobara wrote: Then, get the value with something like: $(#foo input[name=bar]).val(); ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] On-Demand Javascript?

2006-09-05 Thread Stephen Howard
, there comes a point when you say 'well, this might just make things better...'. Stephen Howard wrote: Christof Donat wrote: Cons: - either you need to do synchronous loading like JSON does or you need to work with callbacks as I do. Synchronous loading blocks the browser

Re: [jQuery] On-Demand Javascript?

2006-09-05 Thread Stephen Howard
could use jQ's ajax code, or could merge with it. The mandate of the ajax library would certainly include the sorts of things that he and JSAN have in mind. -Stephen Jörn Zaefferer wrote: Stephen Howard wrote: jQuery remains coherent and quantifiable, rather than an ever expanding kitchen

Re: [jQuery] Submit a form?

2006-09-02 Thread Stephen Howard
Myles Angell wrote: $(#report-form).get(0).submit(); Return false isn't neccessary On 9/1/06, *Lewis, David* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Using jQuery, is there an easy way to find a form in an HTML document, submit it, then return false (to avoid