XML HTTP Request: Ornek Uygulama III

Monday August 08th 2005, 15:58 pm |   |  Web Teknolojileri | by eser s.

evet, kisa bir aradan sonra xmlhttprequest orneklerimize devam ediyoruz…
bu ornek evvelkilerden daha basit daha sade islev olarak..
yaptigi basitce verilen bir alana gore istenen bilgiyi getirmesi.. xml cikti yerine bu sefer metin ciktisini kullaniyoruz.. xml de kullanilabilir diger orneklerde oldugu gibi. ancak js dosyasini degistirmek gerekiyor o durumda.

demo aciklamasi olarak da:
1. responseText ozelligi kullaniliyor. anlami, xml yerine metin cikti aliyoruz..
2. isim alaninin bos olup olmadigi kontrol ediliyor
3. html kodu ve bosluk temizligi yapiliyor
4. alan bos degilse demo oldugu icin direk benim kendi adim soyadim geliyor.
5. almak istediginiz veri size kalmis.. yeter ki getdata.php dosyasini buna gore ayarlayin…

bu demo sayfasina http://defter.sahillioglu.net/filearea/demos/xmlhttprequest-ajax-2/ adresinden ulasabilirsiniz.. sorular icin asagida yorum birakabilir veya shl [ at ] sahillioglu.net adresini kullanabilirsiniz..


Comments
No Comments   |   Leave a comment  |  Comments RSS on this post.  |   TrackBack URI
No comments yet.

Leave a comment

[required]

[required]



Line and paragraph breaks automatic, e-mail address never displayed,
HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 5 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a

 
SHATO Web Hosting Services