How to use XHR in pop up window
问题 Hi I need to know how to read a API from pop up window. Here is my popup window <!DOCTYPE html> <html> <head> <script type="text/javascript" src="test.js"></script> </head> <body> <b>Enter your Email ID and Password</b><br><br> <form id="userinfo"> <label for="user"> Email : </label> <input type="text" id="user" /><span id="semail"></span> <br><br> <label for="pass">Password : </label> <input type="password" id="pass" /> <br> <br> <input type="button" id="login" value="Log In"/> <