mozilla

Compare Revisions

Getting Started

Change Revisions

Revision 48828:

Revision 48828 by Sheppy on

Revision 48829:

Revision 48829 by garann on

Title:
Getting Started
Getting Started
Slug:
AJAX/Getting_Started
AJAX/Getting_Started
Tags:
AJAX, NeedsTechnicalReview, XMLHttpRequest
AJAX, NeedsTechnicalReview, XMLHttpRequest
Content:

Revision 48828
Revision 48829
nn153<span id="ajaxButton" style="cursor: pointer; text-decoration:
 > underline">
154  Make a request
155</span>
nn159  document.getElementById("ajaxButton").onclick = function() { ma
 >keRequest('test.html'); };
n192<spann
193  style="cursor: pointer; text-decoration: underline"
194  onclick="makeRequest('test.html')">
195  Make a request
196</span>
t205      <li>This calls the <code>makeRequest()</code> function witht204      <li>The event handler calls the <code>makeRequest()</code> 
> a parameter – the name <code>test.html</code> of an HTML file in>function with a parameter – the name <code>test.html</code> of an
> the same directory;> HTML file in the same directory;

Back to History