나는 내가 두 개의 입력 상자를 넣어 follows-인텔 XDK 직접 HTML 파일 사용
여기
function myFunction() {
window.location.href = “sms:+getElementById("number")?body=getElementById("content")”;
<html>
\t <head>
\t \t <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
\t \t <script type="text/javascript" src="script.js"></script>
\t </head>
\t <body>
\t \t <input type=text id=number placeholder="Enter Mobile Number"></input><br><br>
\t \t <input type=text id=content placeholder="Enter Body of SMS"></input><br><br>
\t \t <button type="button" id='send' onclick='myFunction()'>Send SMS</button><br><br>
\t \t
\t \t This app is in Beta
\t </body>
\t </html>
같은 일부 자바 스크립트 경우 SMS를 보내기위한 간단한 HTML 파일을 내가 데스크탑 반면에 무엇을 얻을 만든 브라우저에서 미리보기 - https://drive.google.com/file/d/0B_DG5jTH_sYDUlVaZDZtMkxuTFk/view?usp=sharing
그러나 XDK에서 미리보기하는 것은이있는 동안 내가 무엇을 얻을 - https://drive.google.com/open?id=0B_DG5jTH_sYDNFJPU0JjNWtLQ3c&authuser=0
왜 이런 현상이 발생합니까?
어떻게 해결할 수 있습니까?
도움을 주시면 감사하겠습니다. 당신이 XDK 에뮬레이터보기에서보고있는 무엇
감사합니다, 애쉬 윈