JavaScript´úÂë(1)
//ºǫ́CSµ÷ÓÃǰ̨JS·½·¨
ClientScript.RegisterStartupScript(this.GetType(), "onclick", "<script>CheckInput()</script>");
//УÑéÊäÈë¿òÊÇ·ñΪ¿Õ£¬Ð£ÑéÊÇ·ñÊÇÊý×Ö
<script type="text/javascript" language="javascript">
function CheckInput() {
if (document.form1.txt_ReceiptID.value == "") {
alert('±¨Ïúµ¥ºÅ²»ÄÜΪ¿Õ!');
document.form1.txt_ReceiptID.focus();
return false;
}
else {
if(checknumber(document.form1.txt_ReceiptID.value)
{
alert("±¨Ïúµ¥ºÅΪÊý×Ö£¡");
document.form1.txt_ReceiptID.focus();
return false;
&nbs
Ïà¹ØÎĵµ£º
Èç¹ûÄãÍêÈ«²»¶®£¬ÄÇôÆÚÍû1-2ÖÜ¿´ÍêÒ»±éÀµ¹....²»Óÿ´µÄÌ«×Ðϸ£¬ºóÃæÔÙ¿´µ½²»¶®µÄʱºò»ØÍ·È¥¿´ÕâЩ¶«Î÷ºÃÁË¡£
1. Ç°ÑÔºÍ×¼±¸¹¤×÷
ÕâÀï²»»á½éÉÜʲôÈí¼þµÄÓ÷¨Ò»ÀàµÄ¶«Î÷¡£Èç¹û¾õµÃÊÖд´úÂëÊÇÔÚ×°µÄÈË¿ÉÒÔ³öÈ¥ÁË£¬Ð»Ð»¡£
Ê×ÏÈÄãÒªÓÐ̨µçÄÔ¡£È»ºóËüÓ¦¸Ã×°×Åwindows ºÍ IE¡£ÏÂÃæËù̸µ½µÄ´úÂë ......
¶þʮһ¡¢ÉùÒô
1¡¢¿ÉÒÔ²¥·ÅÉùÒôµÄä¯ÀÀÆ÷£¨Audio-enabled Browsers£©
Q£ºÊ²Ã´¿ÉÒÔä¯ÀÀÆ÷¿ÉÒÔÖ´Ðв¥·ÅÉùÒôµÄ½Å±¾£¿
A£ºÈç¹ûÔÚÉùÒô²¥·ÅÃèÊöµÄ¼¼Êõ¿ÉÒÔÔÚMiscrosoft Internet Explorer 4.0¼°Æä¸üа汾Öй¤×÷£¬ÄÇôͬÑù¿ÉÒÔÔÚNetscape Navigator 3.0¼°Æä¸üа汾Öй¤×÷¡£ÒªÔÚInternet ExplorerÖв¥·ÅÉùÒô£¬ÔÚ4.0ÒÔ¼°ºóÀ´°æ±¾Ö ......
<!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>vForm±íµ¥ÑéÖ¤³Ì ......
<html>
<head>
<title>Javascript</title>
<script language="Javascript" type="text/javascript">
function callMethod()
{
/*http://localhost/waa/WebService.asmxΪServic ......