Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion What is the "Remote" stuff in the source code?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
timothytoe  
View profile   Translate to Translated (View Original)
 More options 5 Feb 2008, 16:46
From: timothytoe <timothy...@gmail.com>
Date: Tue, 5 Feb 2008 08:46:28 -0800 (PST)
Local: Tues 5 Feb 2008 16:46
Subject: Re: What is the "Remote" stuff in the source code?
Interesting. This should be the subject of a future blog post on your
site.

On Feb 5, 7:51 am, "Dan Webb" <d...@danwebb.net> wrote:

> > You have a bunch of form and ajax stuff at the bottom of the source
> > code for Low Pro jQuery. Hidden features or just plumbing?

> Those are two built in behaviors that turn links and forms into
> versions that send via Ajax.

> $('a').attach(Remote.Link, { type: 'GET', dataType: 'script' });

> for example...

> both of them work woth a load of sensible defaults taking the URL from
> the href or the action and the method from the method attribute.  The
> form automatically serializes the data from the form its attached to
> to send.

> On top of this, the Remote.Form behavior helps serialization by only
> sending the submit button that you pressed in the request.

> Cheers,

> --
> Dan Webbhttp://www.danwebb.net

> aim: danwrong123
> skype: danwrong


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google