TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pandu
NA
18
19.4k
Xmlhttprequest object in Java script.
Mar 22 2014 5:13 PM
<HTML>
<HEAD>
<TITLE>Trying to get top 10 you tube videos</TITLE>
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
var xhr = new XMLHttpRequest();
xhr.open("GET", "http://www.google.com/", false);
xhr.send();
console.log(xhr.status); //// 200
console.log(xhr.statusText); //// Ok
</SCRIPT>
</HEAD>
<BODY>
</BODY>
</HTML>
What am I doing wrong in this? When I run this on browser I am not getting output as 200 and ok.
Reply
Answers (
1
)
how to create a new website in DotNetNuke(DNN)??????
Convert videos into mp4