Hello, I am creating an Android app using HTML5, and I am trying to use this code to acquire information from the FAA. It works fine for what I originally wanted, but now I am wondering how to save the info it receives into a variable and use it to fill a textbox. Any advice or suggestions appreciated, thanks!
<body>
<script type="text/javascript">
var airportInfo='http://services.faa.gov/airport/status/' + this.airportCode.value +'?format=application/json';" method="GET">;
<form id="urlForm" onsubmit="this.action = 'http://services.faa.gov/airport/status/' + this.airportCode.value +'?format=application/json';" method="GET">
<input name="airportCode" type="text" maxlength="5">
<input type="submit" onclick=/>
</body>
</html>
</form>