答案 0 :(得分:0)
HTML表单是:
<body>
<h1>Cadastro de Fissura</h1>
<form action="">
<label for="fissuraObservacao">Observação</label>
<textarea name="fissuraObservacao" id="fissuraObservacao" cols="40" rows="3"></textarea>
<label for="fissuraFaceBloco">Face do Bloco</label>
<input type="text">
<select autofocus name="fissuraAlarme" id="fissuraAlarme">
<option value="1">Normal</option>
<option value="2">Alerta</option>
<option value="3">Urgente</option>
</select>
<input type="submit" value="Enviar">
<input type="reset" value="Limpar">
</form>
</body>
在javaScript中,一个按钮用
调用一个函数document.location = 'architectsdk://action=openCadastroHtml';
用于
onURLInvoked: function onURLInvoke(url){
if (url.substring(22) == 'openCadastroHtml'){
app.wikitudePlugin.close();
//window.location.href = 'world/inspecao/cadastro.html';
window.open('world/inspecao/cadastro.html','_');
.
.
.
其中cadastro.html是HTML表单