Ajax Talk - Asynchronous javascript and xml discussion board
 FAQ   Search    Usergroups      Register   Profile   Check your messages   Log in 
Signup now to enjoy a range of free membership advantages !!
Ajax Talk - Moderators Wanted
Very Newbie in Ajax with a common problem ..

Post new topic   Reply to topic    Ajaxtalk.com Forum Index -> General discussion
View previous topic :: View next topic  
Author Message
New one
New one

Joined: 03 Oct 2007
Posts: 1

PostPosted: Wed Oct 03, 2007 8:38 pm    Post subject: Very Newbie in Ajax with a common problem .. Reply with quote

Hi Ajax Experts,

I have got a problem with my first Ajax Application,
Actually this below simple code seems to be ok ,
but it's not working..

Apparently The Problem might be in my web server,
when i make a plain/Text file "test.txt" and
put "hello world" in it , and change with "time.asp"
which has located in the code , everything will be
fine, but when i make "time.asp" and put these


it's not working , the error message in IE browser is
"System Error: -1072896748"

on this line: document.myForm.time.value= xmlHttp.responseText ;

In my opinion the web server (IIS6) cann't
run a server-side code by Ajax way, but
nothing is wrong with any stand-alone ASP APP,
Or a type casting would be necessary in the assignment ..

Any Help will be appreciated..

Although This Code has been gotten from

-------------- The Main Code -------------
<script type="text/javascript">

function ajaxFunction()
var xmlHttp;
{ // Firefox, Opera 8.0+, Safari
xmlHttp=new XMLHttpRequest();

catch (e)
{ // Internet Explorer
xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");

catch (e)
xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");

catch (e)
alert("Your browser does not support AJAX!");
return false;

xmlHttp.open("POST", "time.asp",true);

if (xmlHttp.readyState==4)
document.myForm.time.value= xmlHttp.responseText ;



<form name="myForm">
Name: <input type="text" onchange="ajaxFunction();" name="username">
Time: <input type="text" name="time">

Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    Ajaxtalk.com Forum Index -> General discussion All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
 XML & Copyright Notice 

Powered by phpBB © 2001, 2005 phpBB Group

What is according to Wikipedia: Ajax Web2.0 XML E4X

Link to our site:


del.icio.us digg spurl wists simpy newsvine blinklist furl blogmarks yahoo! myweb smarking ma.gnolia segnalo reddit fark technorati cosmos

Normal Bookmark

Partner Button Links:
Codecrunch.com: Webmaster Tutorials    One Ajax

Partner Text Links:
quomon | web20log | ajaxmatters | tableless | 456bereastreet | music charts | gift ideas | competitions | free xbox 360 | link trade ?

it consultancy & project management lead generation zoekmachine optimalisatie steal these buttons seo expert