<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>金山API例子</title>
<script language="javascript" src="WrBox_PowerWordApi.js"></script>
</head>
<script type="text/javascript">
function Example()
{
WrPowerWordApi(document.getElementById('WrText').value,"WrDiv");
}
</script>
<!--这个是读出层-->
<div id="WrDiv"></div>
<!--层结束-->
<body>
<input type="text" name="textfield" id="WrText" value="good"/>
<input id="WrBut" type="button" name="Submit" value="按钮" onclick="Example()" />
</body>
</html>
- 1
- 2
- 3
- 4
- 5
前往页