2
Answers

Messagebox Close

SL G

SL G

9y
539
1
 
After particular  interval time already opened Messagebox  Close Automatically
 
How To give Condition?
 
Please give Some Example
 
Answers (2)
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 9y
Hi Chinna,
 
If redirect is not working then you can use anyone one of below options: 
 
window.location = "http://www.yoururl.com";
window.location.href= "http://www.w3schools.com";
window.location.assign("http://www.w3schools.com");
 
For authentication please follow below URL:
 
0
Chinna Netha

Chinna Netha

NA 261 67.9k 9y
url did came....but not come redirect page  --->subjects_home.aspx
http://localhost/onlineexamsworld/Account/Login?ReturnUrl=%2fonlineexamsworld%2fusers%2fSubjects_home%3
femail%3d
imvinod34%40gmail.com%
3fid%3d899750040065165%3ffirst_name%3d
Vinod%3flast_name%3dKumar&
email=imvinod34@gmail.com?
id=899750040066165?first_name=Vinod?last_name=Kumar
 
may be....plz tell me how to user authenticate token..how to create
0
Upendra Pratap Shahi

Upendra Pratap Shahi

NA 13.3k 861.3k 9y

window.location.replace("/online/Subjects_home?email="+response.email+"?id="+response.id+

"?first_name="+response.first_name+"?last_name=

"+response.last_name);

0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 9y
Chinna,
 
Try to replace your code with new updated code and let know.. 
 
Your code 
window.location.replace("/online/Subjects_home?email="+response.email+"?id="+response.id+
"?first_name="+response.first_name+"?last_name=
"+response.last_name+"");
 
New code: 
window.location.replace("/online/Subjects_home?email="+response.email+"?id="+response.id+
"?first_name="+response.first_name+"?last_name=
"+response.last_name);
0
Chinna Netha

Chinna Netha

NA 261 67.9k 9y
sir clearly explain
i not understanding 
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 9y
Chinna,
 
I provided some updated code in my previous article.
 
You can use that one and let know. 
0
Chinna Netha

Chinna Netha

NA 261 67.9k 9y
function FacebookLogin() {

FB.login(function (response) {
if (response.authResponse) {
FB.api('/me', function (response) {
 
try {
window.location.replace("/onlineexamsworld/users/Subjects_home?email="+response.email+"?id= 
"+response.id+"?first_name="+response.first_name+
"?last_name="+response.last_name+"");
catch (err) {
//error
}
});
 
<input type="button" value="Face Book" class="btn btn-default" onclick="FacebookLogin(); return false;" title="Face Book Login" />
 
 
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 9y
Hi Chinna,
 
Looks like there some issue with javascript code, use update code:
And make sure that response object is available and it has all required properties.
 
window.location.replace("/online/Subjects_home?email="+response.email+"?id="+response.id+
"?first_name="+response.first_name+"?last_name=
"+response.last_name);