[jQuery] Re: Reducing this code.

2007-04-16 Thread Aaron Heimlich
on. 2) The first area of summarisation i would -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com

[jQuery] Re: $(document.createElement(script)) vs. $(script) ?!

2007-04-12 Thread Brandon Aaron
along with these tags but that is the short answer. :) -- Brandon Aaron On 4/12/07, Ralf S. Engelschall [EMAIL PROTECTED] wrote: During my todays hacking on the jquery.xsajax.js plugin (see different mail) I had to discover that there is a strange difference between var node

[jQuery] Re: How to add opacity to an element

2007-04-12 Thread Brandon Aaron
That should be working just fine. Which browser are you having problems with? Can you post an example of the issue you are having so we can investigate? -- Brandon Aaron On 4/12/07, Joan Piedra [EMAIL PROTECTED] wrote: Hey guys, Is there a crossbrowser jquery way to add opacity to an element

[jQuery] Re: Google Toolbar Messages Strike Again!

2007-04-12 Thread Aaron Heimlich
field, I get Google can fill in this form field for you... Aaaah! Has anyone found a way to keep the Google messages from overriding the error messages? Rick -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com

[jQuery] Re: Google Toolbar Messages Strike Again!

2007-04-12 Thread Aaron Heimlich
browser is this happening in? IE or FF (all of my tests have been in FF)? -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com

[jQuery] Re: selector for ATTR is empty

2007-04-12 Thread Brandon Aaron
jQuery provides a trim method already and you can use it like this: var myString = test ; var myNewString = $.trim(myString); myNewString now holds: test Here are the docs for the method. http://docs.jquery.com/JavaScript#.24.trim.28_str_.29 -- Brandon Aaron On 4/12/07, Olaf Bosch

[jQuery] Re: Trying to figure out how to use this custom validation...

2007-04-11 Thread Aaron Heimlich
Zaefferer http://bassistance.de -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com

[jQuery] Re: jQuery tutorial on IBM DeveloperWorks

2007-04-11 Thread Brandon Aaron
') .appendTo(body); You could do it like this: $('p') .html('Hey World!') .css('background', 'yellow') .appendTo(body); You could also do it like this: $('pHey World!/p') .css('background', 'yellow') .appendTo(body); Great tutorial. -- Brandon Aaron On 4/11/07, Jesse Skinner

[jQuery] Re: Trying to figure out how to use this custom validation...

2007-04-11 Thread Aaron Heimlich
and Javascript won't validate a dollar amount in the same manner. Rick *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Aaron Heimlich *Sent:* Wednesday, April 11, 2007 10:01 AM *To:* jquery-en@googlegroups.com *Subject:* [jQuery] Re: Trying to figure out how to use

[jQuery] Re: Determine if a table cell is visible or not?

2007-04-11 Thread Brandon Aaron
(':hidden').size == 0); I guess you could also use the same kind of logic to filter out any hidden col/colgroup tags and if one or more is hidden check their attributes against the td. -- Brandon Aaron On 4/11/07, Matt Kruse [EMAIL PROTECTED] wrote: I'd like to find out if a table cell

[jQuery] Re: How do you write custom callback functions in jQuery?

2007-04-11 Thread Aaron Heimlich
On 4/11/07, Klaus Hartl [EMAIL PROTECTED] wrote: Nice! Where do useful micro plugins go? The cookbook[1] perhaps? [1] http://docs.jquery.com/Cookbook (I do remember there being a lot more here, though, when we had the old wiki) -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http

[jQuery] Re: Best Method to (re)bind event handlers

2007-04-10 Thread Brandon Aaron
You might find the copyEvents plugin of interest. http://brandon.jquery.com/plugins/copyEvents/ -- Brandon Aaron On 4/10/07, Olaf Gleba [EMAIL PROTECTED] wrote: Hi, the last two days i argue about how to handle (re)binding event handlers in a most elegant and un-redundant way when i work

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

2007-04-10 Thread Aaron Heimlich
://dev.jquery.com/browser/trunk/jquery/src/ajax/ajax.js#L644 -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com

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

2007-04-10 Thread Brandon Aaron
I like this approach. Could you create an enhancement ticket for this? -- Brandon Aaron On 4/10/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote: They should already be able to do that with the beforeSend option[1][2], but your way looks easier [1] http://docs.jquery.com/Ajax#Options [2] http

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

2007-04-10 Thread Aaron Heimlich
didn't someone post a version jQuery.extend that could act recursively on nested objects? On 4/10/07, Brandon Aaron [EMAIL PROTECTED] wrote: Yeah just like most plugins do with their options. -- Brandon Aaron On 4/10/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Jörn, 462

[jQuery] Re: Why pack jquery ?

2007-04-10 Thread Aaron Heimlich
results are a little surprising, but negligible. The difference is that javascript won't spend valuable milliseconds unpacking when your web page is first loaded. It's much faster to uncompress (native code) vs. unpack (javascript). Steve -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http

[jQuery] Re: dependencies in ext

2007-04-09 Thread Brandon Aaron
No that tool was specific to Interface. -- Brandon Aaron On 4/7/07, Ariel Jakobovits [EMAIL PROTECTED] wrote: The tool that someone on the list developed recently regarding javascript dependencies...is it generic? Can it be run on the ext project to determine dependencies to reduce code

[jQuery] Re: Simple selector question

2007-04-09 Thread Brandon Aaron
to use this group of tables again later. -- Brandon Aaron On 4/9/07, Karl Swedberg [EMAIL PROTECTED] wrote: Hi Geoff, You should be able to loop through he tables with .each() and see if they have the css property border-collpase set to collapse and if so, do something. The following should work

[jQuery] Re: ANNOUNCE: New jQuery Book Available for Pre-Order!!

2007-04-09 Thread Aaron Heimlich
On 4/9/07, Jonathan Chaffer [EMAIL PROTECTED] wrote: They tend to offer the eBook ... bundled with the print edition at a reduced cost. That's what I would want to pre-order, but I don't see it listed on the book's page. -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http

[jQuery] Re: How would I write this CF in JS?

2007-04-09 Thread Aaron Heimlich
want to run it through a test... CF-coders? Thanks, Rick -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com

[jQuery] Re: Find Programming Job?

2007-04-09 Thread Aaron Heimlich
will we be free of... of bad looking site. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com

[jQuery] Re: jQuery and unit testing...

2007-04-09 Thread Aaron Heimlich
-- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com

[jQuery] Re: Unique parameter in Ajax

2007-04-07 Thread Aaron Heimlich
requested through AJAX it only outputs the content it created (without the header and stuff). -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com

[jQuery] Re: ANNOUNCE: New jQuery Book Available for Pre-Order!!

2007-04-06 Thread Aaron Heimlich
-- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com

[jQuery] Re: method_missing equivalent in jQuery?

2007-04-04 Thread Brandon Aaron
Man that would be so cool if JavaScript as a language had the ability to do this but it does not. -- Brandon Aaron On 4/4/07, chinmay [EMAIL PROTECTED] wrote: Hi all, Usually, I'm this lurker who scrapes this list for tips to improve my jquery code. As a beginner, I can't begin to tell you

[jQuery] Re: UPDATE: code review, suggestions for condensing / reuse?

2007-04-03 Thread Brandon Aaron
: if ($(outerchild).attr(class).indexOf('outeropen') == -1) { Using the is method: if ( !$outerchild.is('.outeropen') ) { Or you could also use the ':hidden' selector like this: if ( $outerchild.is(':hidden') ) { Hope that helps optimize the code a little. :) -- Brandon Aaron On 4/3/07, Andy Matthews

<    3   4   5   6   7   8