Advertisements :

alongkorn.s on March 25th, 2008

จะเขียนโปรแกรมที่เกี่ยวกับการใช้ php เป็นคล้ายๆ robots ไปดูด content จากเว็บอื่นๆมา analysis ทีนี้เลยต้องศึกษาเกี่ยวกับการใช้ Ajax ค่อยๆมาดูกันดีกว่า จากคนที่เขียน Ajax ไม่เป็นจะทำได้ไหม ฮ่าๆๆ
1. ผม search เพื่อหาเว็บโดยใช้ Keyword “Ajax chat tutorial” ใน Google ได้เป็นเว็บนี้มาครับ ajaxprojects.com
2. ผม Download ไฟล์ตัวอย่างมาติดตั้งในเครื่องผมเอง > Download source code - 7 Kb
3. ดูตามไปเรื่อยๆนะครับ อาจจะข้ามๆไปบ้าง เอาที่สำคัญๆนะ
The JavaScript
//Gets the browser specific XmlHttpRequest Object
function getXmlHttpRequestObject() {
if (window.XMLHttpRequest) {
return new XMLHttpRequest();
} else if(window.ActiveXObject) {
return new [...]

Continue reading about Ajax Chat

Page copy protected against web site content infringement by Copyscape

All product names are trademarks of their respective companies.Every effort is made to ensure content integrity. Use information on this site at your own risk. Information furnished in the blog is collected from various sites. This blog does not host any files on its server. Please report any broken links in comment. . Contact us at alongkorn.s(at)gmail.com