Hello firends
I'm learning ajax ,
From AJAX for dummies:
Quote:
Checking to make sure you have
a valid XMLHttpRequest object
Now that you’ve got the needed
XMLHttpRequest object stored in the variable
XMLHttpRequestObject
, how do you actually fetch the text the application
wants when the user clicks the button? All that takes place in the
getData
function in the <script> element, as shown here:
Code:
<script language = “javascript”>
.
.
.
function getData(dataSource, divID)
{
.
.
.
}
</script>
I need to know more about this function.
May someone give me complete example about this function?getdata()?(Its syantax,Tutorial for that...)
GOOD LUCCK!
