close
Do not ask me anything about English. There may be many mistakes including spelling.
Ajax & PHP without using the XmlHttpRequest Object
This might be a useful idea if I can understand what is it going to say...
This might be a useful idea if I can understand what is it going to say...
Key Idea:
If we can't use the XmlHttpRequest object, we must find some other way to include content from another page, without having to resort to other objects or non-standard things. A great candidate for this would be the <script> tag, which is used to include external JavaScript files. What if, instead of using a regular JS file, we point that tag to a PHP file, which outputs JavaScript.
If we can't use the XmlHttpRequest object, we must find some other way to include content from another page, without having to resort to other objects or non-standard things. A great candidate for this would be the <script> tag, which is used to include external JavaScript files. What if, instead of using a regular JS file, we point that tag to a PHP file, which outputs JavaScript.
Things I do not understand:
1. XmlHttpRequest Object
2. How do I use JS file in Web
3. What is a "tag" here
4. What is the main "flow" in an aJax web
5. Can I use two windows to passing all data (if no pup-up blocking)
1. XmlHttpRequest Object
2. How do I use JS file in Web
3. What is a "tag" here
4. What is the main "flow" in an aJax web
5. Can I use two windows to passing all data (if no pup-up blocking)
xaJax
Here is a web of xaJax, which others suggest the best of all knids of aJax.
Here is a web of xaJax, which others suggest the best of all knids of aJax.
They said it is a good introduction, but since I do not like to learn .NET, I do not read it. Keep it in case of I need to fined something.
Ajax教學
I like it, even if I do not finished reading it.
I like it, even if I do not finished reading it.
REMEMBER THIS:
if (window.ActiveXObject) {
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); // so IE will ask if the user want to allow activeX, orz
}
else if (window.XMLHttpRequest) {
xmlHttp = new XMLHttpRequest();
}
if (window.ActiveXObject) {
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); // so IE will ask if the user want to allow activeX, orz
}
else if (window.XMLHttpRequest) {
xmlHttp = new XMLHttpRequest();
}
全站熱搜
留言列表