mozilla

Compare Revisions

Getting Started

Change Revisions

Revision 101390:

Revision 101390 by Dveeden on

Revision 101391:

Revision 101391 by Thematrixeatsyou on

Title:
Getting Started
Getting Started
Slug:
Talk:AJAX/Getting_Started
Talk:AJAX/Getting_Started
Content:

Revision 101390
Revision 101391
n8      If you have questions related to AJAX, I suggest you try thn8      If you have questions related to AJAX, I suggest you try th
>e <a class="external" href="https://lists.mozilla.org/listinfo/de>e <a class="link-https" href="https://lists.mozilla.org/listinfo/
>v-ajax">dev-ajax mailing list</a>. Thanks! -- <a href="User:Dria">dev-ajax">dev-ajax mailing list</a>. Thanks! -- <a href="User:Dri
>>dria</a> 06:42, 21 June 2006 (PDT)>a">dria</a> 06:42, 21 June 2006 (PDT)
n48      http_request.open('POST', 'http://example.org/somepage.php'n48      http_request.open('POST', '<a class=" external" href="http:
>, true); http_request.send('name=value&amp;foo=bar');>//example.org/somepage.php" rel="freelink">http://example.org/som
 >epage.php</a>', true); http_request.send('name=value&amp;foo=bar'
 >);
n52      If you want to GET: http_request.open('GET', 'http://exampln52      If you want to GET: http_request.open('GET', '<a class=" ex
>e.org/somepage.php?name=value&amp;foo=bar', true); http_request.s>ternal" href="http://example.org/somepage.php?name=value&amp;foo=
>end(null);>bar" rel="freelink">http://example.org/somepage.php?name=value&am
 >p;foo=bar</a>', true); http_request.send(null);
n58      The server can return HTML or XML that your client-side javn58      The server can return HTML or XML that your client-side jav
>ascript will handle. It's up to you. If you look at the step 3 in>ascript will handle. It's up to you. If you look at the step 3 in
> the article, you'll see a way to handle an HTML file returned by> the article, you'll see a way to handle an HTML file returned by
> the server (http://www.w3clubs.com/mozdev/test.html). Step 4) sh> the server (<a class=" external" href="http://www.w3clubs.com/mo
>ows how to handle an XML file returned by the server - http://www>zdev/test.html" rel="freelink">http://www.w3clubs.com/mozdev/test
>.w3clubs.com/mozdev/test.xml>.html</a>). Step 4) shows how to handle an XML file returned by t
 >he server - <a class=" external" href="http://www.w3clubs.com/moz
 >dev/test.xml" rel="freelink">http://www.w3clubs.com/mozdev/test.x
 >ml</a>
n239      Here's a sample of it in use: http://www.digitalbonsai.com/n239      Here's a sample of it in use: <a class=" external" href="ht
>xhrmulti.php>tp://www.digitalbonsai.com/xhrmulti.php" rel="freelink">http://ww
 >w.digitalbonsai.com/xhrmulti.php</a>
240    </p>
241    <p>240    </p>
242      - Luis (lu@digitalbonsai.com)241    <p>
242      - Luis <a class=" link-mailto" href="mailto:(lu@digitalbons
 >ai.com)" rel="freelink">(lu@digitalbonsai.com)</a>
tt345    <h2 name="MS_have_finally_pulled_finger">
346      MS have finally pulled finger
347    </h2>
348    <p>
349      I am glad to hear that Microsoft have finally pulled their 
 >heads out of their arses, as Internet Explorer 7 supports XMLHttp
 >Request(). So yay. --<a href="User:Thematrixeatsyou">Thematrixeat
 >syou</a> 00:50, 21 June 2007 (PDT)
350    </p>

Back to History