[jQuery] Re: How to break out of jQuery function?

2009-06-24 Thread MiD-AwE
Great, Thank you. I'm learning fast, but their are still many ways to "do it better" that I'm just discovering as I go. I immediately recognize what you have done here and it make good sense. Thanks again. On Jun 24, 1:25 pm, Charlie Griefer wrote: > First off... there are no dumb questions :) >

[jQuery] Re: How to break out of jQuery function?

2009-06-24 Thread Charlie Griefer
First off... there are no dumb questions :) Glad you got it sorted. But would it maybe be a little more efficient to do: if (href !="") { $('#content').html($(href).html()); } since you're not doing anything on the other condition (href being blank), no need for the 'else'? I realize you sa

[jQuery] Re: How to break out of jQuery function?

2009-06-24 Thread MiD-AwE
I appologize for the newb-ish question. I found my answer in "return false;" I'm not deleting this in case someone else needs a good example of where this is necessary. (my background in is LISP (exit) and VB, so please understand the dumb question). On Jun 24, 12:50 pm, MiD-AwE wrote: > Hi al