the containing scope.
HTH,
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available
See the reply in your duplicate thread:
http://groups.google.com/group/jquery-en/browse_thread/thread/6366e26a7727a81d
On Mar 15, 12:50 pm, lovespring wrote:
> (function(){})();
> what's the first () means? is this a standard grammar?and why coding
> like this?
#x27;s f() example), and it additionally is
> passing an argument to the function (the jQuery object--which is
> global, which is then assigned to the $ inside the function). The foo#
> variables inside have different scope as indicated. A variable
> declared inside a function with var
@brian, @mkmanning: FWIW, looked to me from his example like he
really did mean hash (what some use as a synonym for the anchor
portion of the URI), not query string. Perhaps he's doing some
history stuff...
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consu
.org/TR/CSS2/selector.html
[2] http://www.w3.org/TR/css3-selectors
[3] http://docs.jquery.com/Release:jQuery_1.3
[4] http://wiki.github.com/jeresig/sizzle
HTH,
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available
On Mar 18, 10:21 am, will wrote
.6 code doesn't quite work in 1.3?
HTH, sorry for missing != support earlier.
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available
On Mar 18, 10:59 am, "T.J. Crowder" wrote:
> Hi,
>
> Is there a != attribute operator?
Hi Ricardo,
My guess is that he's using multiple class names and that's why it
wasn't working originally (false positives); see my post a couple
back.
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available
On Mar 19, 12:54 am, ric
text (no pun!) we can probably figure it out, if
the above isn't helpful.
FWIW,
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available
On Mar 19, 1:20 pm, Martin wrote:
> Hello,
>
>
bgiframe
[3] http://www.google.com/search?q=iframe+site%3Adocs.jquery.com
HTH,
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available
On Mar 21, 12:03 pm, "sandee...@adpsconsulting.com"
wrote:
> The problem in brief :-
> In simple
* *
You would probably want to generalize that into a reusable module of
some kind, but the logic is simple enough.
HTH,
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting s
tDefault();
}
});
(You'll need to add in your animate logic, etc.)
HTH, and apologies if I'm misreading.
--
T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available
On Mar 22, 2:28 pm, mike wrote:
> folks, I am trying to puzzle something
xpert Guarantee Certified Developer
> > XHTML:http://www.expertrating.com/transcript.asp?transcriptid=1879053
> > CSS :http://www.expertrating.com/transcript.asp?transcriptid=1870619
> > RentACoder
> > Profile:http://www.rentacoder.com/RentACoder/DotNet/SoftwareCoders/ShowBioInf...
>
ng a
> concrete example is always helpful, especially since the OP's skill
> level is unknown). In the case of my example it would be
>
> $('#btnStop').click(function(){clearInterval(swapDiv);});
>
> I think it would be good for the OP to note that part of t
use jQuery.post
[2] which is a simplified wrapper for it, but .post is missing out
some important things IMHO, like a callback on failure.)
[1] http://docs.jquery.com/Ajax/jQuery.ajax#options
[2] http://docs.jquery.com/Ajax/jQuery.post#urldatacallbacktype
HTH,
--
T.J. Crowder
tj / crowder software / com
3, 1:57 pm, "T.J. Crowder" wrote:
> Hi,
>
> You can POST the form using jQuery.ajax[1] (being sure to set the
> 'type' parameter to 'POST'), and then handle creating and populating
> the shadowbox/lightbox in the 'success' handler using the res
Query.fn.switchClass = function(class1,class2) {
if (this.hasClass(class1)) {
this.removeClass(class1).addClass(class2);
} else {
this.removeClass(class2).addClass(class1);
}
};
[1] http://blog.niftysnippets.org/2008/03/horror-of-implicit-globals.html
FWIW,
--
T.J. Cr
gree,
they don't all have to be globals. JavaScript provides very powerful
OOP features in the form of prototypical inheritance. You can also
simulate class-based inheritance if you like, although JavaScript is
not class-oriented; it's that flexible. :-)
HTH,
--
T.J. Crowder
tj /
17 matches
Mail list logo