JavaScript not working in Google App Engine (PHP SDK) -
javascript not working in google apps engine. both in local machine , on appspot. can't figure out problem is. here code.
js script:
function runonload() { document.getelementbyid('taskentry').value = "enter task here"; //document.getelementbyid('taskedit').style.visibility = "hidden"; //document.getelementbyid('edit').style.visibility = "hidden"; }
app.yaml:
application: test version: 1 runtime: php api_version: 1 handlers: - url: /javascript static_dir: javascript handlers: - url: /.* script: task_list.php
html code:
<body onload="runonload()"> <form name="submittask" onsubmit="return validatetasksubmission()" action="" method="post"> <input type="text" name="entertask" id="taskentry" onclick="runonclick()" > <script src="/javascript/jsscript.js" type="text/javascript"></script>
Comments
Post a Comment