hi All
i have taken from internet script that post data with the help of AJAX and PHP
below is script

		<script type="text/javascript" src="prototype.js"></script>

			function sendRequest() {
				new Ajax.Request("test.php", 
					method: 'post', 
					postBody: 'name='+ $F('name'),
					onComplete: showResponse 

			function showResponse(req){
				$('show').innerHTML= req.responseText;

		<form id="test" onsubmit="return false;">
			<input type="text" name="name" id="name" >
			<input type="submit" value="submit" onClick="sendRequest()">
		<div id="show"></div>


what does here

'name='+ $F('name'),

i espesially confused with


Thanks in advance for attention

From the site the code looks like it's from: "Making AJAX Request
The function below sends the request out to our text.php script using the method post with the value filled in the input text box 'name' using $F(‘name') which retrieves the values we put in the text box. The onComplete: showResponse returns the repose from test.php".
The site isn't using straight up javascript but a library that wraps up some of the commonly used functionality into specific calls. According to the site you need to check out the library prototype. Specifically the $F{'name'} is the equivalent of :