<?xml version="1.0" encoding="GB2312"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml xml:lang="zh-cn">
<card id="card1" title="卡片1">
<do type="accept">
输入值:
<input type="text" name="txtKey" maxlength="20"/><br/>
<go href="hol.wmls#check()">
搜索
</go>
</do>
</card>
</wml>
hol.wmls
function check()
{
var a = Dialogs.alert("success!");
WMLBrowser.go("a.wml");
};
为什么点击“搜索”就会出现要下载hol.wmls保存的页面?
iis站点mime中中添加了wmls.