<head>
<title> Welcome to my page </title>
<script language="javascript">
var rtn=false
function push_me() {
var msg1="this is a javascript message:"
var msg2=document.frmscript.text1.value
alert(msg1+msg2)
return true
}
</script>
<script language="vbscript">
option explicit
sub aaa()
dim myform
set myform=document.frmscript
msg1="this is a vbscript message:"
msg2=myform.text1.value
msgbox msg2 & msg2
end sub
</script>
</head>
<body>
<center>
<form name="frmscript">
<input type="text" value="name" neme="text1"><p>
<input type="button" value="java" name="java1" onclick="rtn=push_me()">
<p>
<input type="button"
value="vbbotton"
name=vb1"
onclick="aaa">
</form>
</center>
</body>
</html>
为什么总是说我的网页上有错呢?
5 个解决方案
#1
改好了,注意客户端设置不同的脚本语言。
<html>
<head>
<title> Welcome to my page </title>
<script language="javascript">
function push_me() {
var msg1="this is a javascript message:";
var msg2=document.frmscript.text1.value;
alert(msg1+msg2);
return true;
}
</script>
<%
sub vb1_OnClick()
response.write "ok"
set myform=document.frmscript
msg1="this is a vbscript message:"
msg2=myform.text1.value
msgbox msg1'&msg2
end sub
%>
</head>
<body>
<center>
<form name="frmscript">
<input type="text" value="name" name="text1"><p>
<input type="button" value="java" name="java1" onclick="push_me()">
<p>
<input type="button" value="vbbotton" name="vb1">
</form>
</center>
</body>
</html>
<html>
<head>
<title> Welcome to my page </title>
<script language="javascript">
function push_me() {
var msg1="this is a javascript message:";
var msg2=document.frmscript.text1.value;
alert(msg1+msg2);
return true;
}
</script>
<%
sub vb1_OnClick()
response.write "ok"
set myform=document.frmscript
msg1="this is a vbscript message:"
msg2=myform.text1.value
msgbox msg1'&msg2
end sub
%>
</head>
<body>
<center>
<form name="frmscript">
<input type="text" value="name" name="text1"><p>
<input type="button" value="java" name="java1" onclick="push_me()">
<p>
<input type="button" value="vbbotton" name="vb1">
</form>
</center>
</body>
</html>
#2
ÄãµÄ´íÎóÖ÷ÒªÔÚÒÔϼ¸¸öµØ·½£º
1¡£¶Ô textµÄvalueµÄÒýÓñØÐëÊÇ document.all.frmscript.text1.value ¶ø²»ÊÇ document.frmscript.text1.value £¬ ×¢Ò⣬documentµÄallÊôÐÔ·µ»ØÒ»¸ö¼¯ºÏ£¬¼¯ºÏÀïÃæµÄ¸÷ÏîÊÇ<body></body>Ö®¼äµÄ¶ÔÏ󣬿ÉÒÔͨ¹ý¸Ã¶ÔÏóµÄid»ònameÀ´·ÃÎÊ¡£
2¡£ÔÚvbscriptÖУ¬Äã¼ÈÈ»¶¨ÒåÁËoption explicit£¬ºóÃæµÄÿ¸ö±äÁ¿¶¼ÒªÉùÃ÷£¬µ«ÊÇÄãûÓÐÉùÃ÷msg1ºÍmsg2£¬Ó¦¸ÃÉùÃ÷¡£
3¡£¿ÉÄÜÊÇÄãµÄ±ÊÎó£ºvbscriptÖÐ msgbox msg2 & msg2 Ó¦¸Ãд³É msgbox msg1 & msg2 ²Å¶Ô£»htmlÖÐ<input type="text" value="name" neme="text1"> Ó¦¸Ãд³É<input type="text" value="name" name="text1"><p>£¬Ä㽫nameд³ÉÁËneme
4¡£<input type="button" value="vbbotton" name=vb1" onclick="aaa"> д´íÁË£¬Ó¦¸ÃÊÇ<input type="button" value="vbbotton" name=vb1" onclick="aaa()"> ×¢Ò⣬aaaºóÃæÓÐÀ¨ºÅ£»
ÕýÈ·µÄ´úÂëÈçÏ£º
<html>
<head>
<title> Welcome to my page </title>
<script language="javascript">
var rtn=false
function push_me() {
var msg1="this is a javascript message:"
var msg2=document.all.frmscript.text1.value
alert(msg1+msg2)
}
</script>
<script language="vbscript">
option explicit
sub aaa()
dim myform, msg1, msg2
set myform=document.all.frmscript
msg1 = "this is a vbscript message:"
msg2 = myform.text1.value
msgbox msg1 & msg2
end sub
</script>
</head>
<body>
<center>
<form name="frmscript">
<input type="text" value="name" name="text1"><p>
<input type="button" value="java" name="java1" onclick="push_me()"><p>
<input type="button" value="vbbotton" name=vb1" onclick="aaa()">
</form>
</center>
</body>
</html>
1¡£¶Ô textµÄvalueµÄÒýÓñØÐëÊÇ document.all.frmscript.text1.value ¶ø²»ÊÇ document.frmscript.text1.value £¬ ×¢Ò⣬documentµÄallÊôÐÔ·µ»ØÒ»¸ö¼¯ºÏ£¬¼¯ºÏÀïÃæµÄ¸÷ÏîÊÇ<body></body>Ö®¼äµÄ¶ÔÏ󣬿ÉÒÔͨ¹ý¸Ã¶ÔÏóµÄid»ònameÀ´·ÃÎÊ¡£
2¡£ÔÚvbscriptÖУ¬Äã¼ÈÈ»¶¨ÒåÁËoption explicit£¬ºóÃæµÄÿ¸ö±äÁ¿¶¼ÒªÉùÃ÷£¬µ«ÊÇÄãûÓÐÉùÃ÷msg1ºÍmsg2£¬Ó¦¸ÃÉùÃ÷¡£
3¡£¿ÉÄÜÊÇÄãµÄ±ÊÎó£ºvbscriptÖÐ msgbox msg2 & msg2 Ó¦¸Ãд³É msgbox msg1 & msg2 ²Å¶Ô£»htmlÖÐ<input type="text" value="name" neme="text1"> Ó¦¸Ãд³É<input type="text" value="name" name="text1"><p>£¬Ä㽫nameд³ÉÁËneme
4¡£<input type="button" value="vbbotton" name=vb1" onclick="aaa"> д´íÁË£¬Ó¦¸ÃÊÇ<input type="button" value="vbbotton" name=vb1" onclick="aaa()"> ×¢Ò⣬aaaºóÃæÓÐÀ¨ºÅ£»
ÕýÈ·µÄ´úÂëÈçÏ£º
<html>
<head>
<title> Welcome to my page </title>
<script language="javascript">
var rtn=false
function push_me() {
var msg1="this is a javascript message:"
var msg2=document.all.frmscript.text1.value
alert(msg1+msg2)
}
</script>
<script language="vbscript">
option explicit
sub aaa()
dim myform, msg1, msg2
set myform=document.all.frmscript
msg1 = "this is a vbscript message:"
msg2 = myform.text1.value
msgbox msg1 & msg2
end sub
</script>
</head>
<body>
<center>
<form name="frmscript">
<input type="text" value="name" name="text1"><p>
<input type="button" value="java" name="java1" onclick="push_me()"><p>
<input type="button" value="vbbotton" name=vb1" onclick="aaa()">
</form>
</center>
</body>
</html>
#3
重发一编:
你的错误主要在以下几个地方:
1。对 text的value的引用必须是 document.all.frmscript.text1.value 而不是 document.frmscript.text1.value , 注意,document的all属性返回一个集合,集合里面的各项是<body></body>之间的对象,可以通过该对象的id或name来访问。
2。在vbscript中,你既然定义了option explicit,后面的每个变量都要声明,但是你没有声明msg1和msg2,应该声明。
3。可能是你的笔误:vbscript中 msgbox msg2 & msg2 应该写成 msgbox msg1 & msg2 才对;html中<input type="text" value="name" neme="text1"> 应该写成<input type="text" value="name" name="text1"><p>,你将name写成了neme
4。<input type="button" value="vbbotton" name=vb1" onclick="aaa"> 写错了,应该是<input type="button" value="vbbotton" name=vb1" onclick="aaa()"> 注意,aaa后面有括号;
正确的代码如下:
<html>
<head>
<title> Welcome to my page </title>
<script language="javascript">
var rtn=false
function push_me() {
var msg1="this is a javascript message:"
var msg2=document.all.frmscript.text1.value
alert(msg1+msg2)
}
</script>
<script language="vbscript">
option explicit
sub aaa()
dim myform, msg1, msg2
set myform=document.all.frmscript
msg1 = "this is a vbscript message:"
msg2 = myform.text1.value
msgbox msg1 & msg2
end sub
</script>
</head>
<body>
<center>
<form name="frmscript">
<input type="text" value="name" name="text1"><p>
<input type="button" value="java" name="java1" onclick="push_me()"><p>
<input type="button" value="vbbotton" name=vb1" onclick="aaa()">
</form>
</center>
</body>
</html>
你的错误主要在以下几个地方:
1。对 text的value的引用必须是 document.all.frmscript.text1.value 而不是 document.frmscript.text1.value , 注意,document的all属性返回一个集合,集合里面的各项是<body></body>之间的对象,可以通过该对象的id或name来访问。
2。在vbscript中,你既然定义了option explicit,后面的每个变量都要声明,但是你没有声明msg1和msg2,应该声明。
3。可能是你的笔误:vbscript中 msgbox msg2 & msg2 应该写成 msgbox msg1 & msg2 才对;html中<input type="text" value="name" neme="text1"> 应该写成<input type="text" value="name" name="text1"><p>,你将name写成了neme
4。<input type="button" value="vbbotton" name=vb1" onclick="aaa"> 写错了,应该是<input type="button" value="vbbotton" name=vb1" onclick="aaa()"> 注意,aaa后面有括号;
正确的代码如下:
<html>
<head>
<title> Welcome to my page </title>
<script language="javascript">
var rtn=false
function push_me() {
var msg1="this is a javascript message:"
var msg2=document.all.frmscript.text1.value
alert(msg1+msg2)
}
</script>
<script language="vbscript">
option explicit
sub aaa()
dim myform, msg1, msg2
set myform=document.all.frmscript
msg1 = "this is a vbscript message:"
msg2 = myform.text1.value
msgbox msg1 & msg2
end sub
</script>
</head>
<body>
<center>
<form name="frmscript">
<input type="text" value="name" name="text1"><p>
<input type="button" value="java" name="java1" onclick="push_me()"><p>
<input type="button" value="vbbotton" name=vb1" onclick="aaa()">
</form>
</center>
</body>
</html>
#4
Sorry,
刚才搞错了,第一点你没有错,
========================================================
1。对 text的value的引用必须是 document.all.frmscript.text1.value 而不是 document.frmscript.text1.value , 注意,document的all属性返回一个集合,集合里面的各项是<body></body>之间的对象,可以通过该对象的id或name来访问。
========================================================
这是我搞错了,可以用document.frmscript.text1.value ,因为all是缺省属性,所以可以省略。
因此,代码可以写成
<html>
<head>
<title> Welcome to my page </title>
<script language="javascript">
var rtn=false
function push_me() {
var msg1="this is a javascript message:"
var msg2=document.frmscript.text1.value
alert(msg1+msg2)
}
</script>
<script language="vbscript">
option explicit
sub aaa()
dim myform, msg1, msg2
set myform=document.frmscript
msg1 = "this is a vbscript message:"
msg2 = myform.text1.value
msgbox msg1 & msg2
end sub
</script>
</head>
<body>
<center>
<form name="frmscript">
<input type="text" value="name" name="text1"><p>
<input type="button" value="java" name="java1" onclick="push_me()"><p>
<input type="button" value="vbbotton" name=vb1" onclick="aaa()">
</form>
</center>
</body>
</html>
刚才搞错了,第一点你没有错,
========================================================
1。对 text的value的引用必须是 document.all.frmscript.text1.value 而不是 document.frmscript.text1.value , 注意,document的all属性返回一个集合,集合里面的各项是<body></body>之间的对象,可以通过该对象的id或name来访问。
========================================================
这是我搞错了,可以用document.frmscript.text1.value ,因为all是缺省属性,所以可以省略。
因此,代码可以写成
<html>
<head>
<title> Welcome to my page </title>
<script language="javascript">
var rtn=false
function push_me() {
var msg1="this is a javascript message:"
var msg2=document.frmscript.text1.value
alert(msg1+msg2)
}
</script>
<script language="vbscript">
option explicit
sub aaa()
dim myform, msg1, msg2
set myform=document.frmscript
msg1 = "this is a vbscript message:"
msg2 = myform.text1.value
msgbox msg1 & msg2
end sub
</script>
</head>
<body>
<center>
<form name="frmscript">
<input type="text" value="name" name="text1"><p>
<input type="button" value="java" name="java1" onclick="push_me()"><p>
<input type="button" value="vbbotton" name=vb1" onclick="aaa()">
</form>
</center>
</body>
</html>
#5
谢谢各位,我明白了,小弟只有这些分了,
请多包涵
请多包涵
#1
改好了,注意客户端设置不同的脚本语言。
<html>
<head>
<title> Welcome to my page </title>
<script language="javascript">
function push_me() {
var msg1="this is a javascript message:";
var msg2=document.frmscript.text1.value;
alert(msg1+msg2);
return true;
}
</script>
<%
sub vb1_OnClick()
response.write "ok"
set myform=document.frmscript
msg1="this is a vbscript message:"
msg2=myform.text1.value
msgbox msg1'&msg2
end sub
%>
</head>
<body>
<center>
<form name="frmscript">
<input type="text" value="name" name="text1"><p>
<input type="button" value="java" name="java1" onclick="push_me()">
<p>
<input type="button" value="vbbotton" name="vb1">
</form>
</center>
</body>
</html>
<html>
<head>
<title> Welcome to my page </title>
<script language="javascript">
function push_me() {
var msg1="this is a javascript message:";
var msg2=document.frmscript.text1.value;
alert(msg1+msg2);
return true;
}
</script>
<%
sub vb1_OnClick()
response.write "ok"
set myform=document.frmscript
msg1="this is a vbscript message:"
msg2=myform.text1.value
msgbox msg1'&msg2
end sub
%>
</head>
<body>
<center>
<form name="frmscript">
<input type="text" value="name" name="text1"><p>
<input type="button" value="java" name="java1" onclick="push_me()">
<p>
<input type="button" value="vbbotton" name="vb1">
</form>
</center>
</body>
</html>
#2
ÄãµÄ´íÎóÖ÷ÒªÔÚÒÔϼ¸¸öµØ·½£º
1¡£¶Ô textµÄvalueµÄÒýÓñØÐëÊÇ document.all.frmscript.text1.value ¶ø²»ÊÇ document.frmscript.text1.value £¬ ×¢Ò⣬documentµÄallÊôÐÔ·µ»ØÒ»¸ö¼¯ºÏ£¬¼¯ºÏÀïÃæµÄ¸÷ÏîÊÇ<body></body>Ö®¼äµÄ¶ÔÏ󣬿ÉÒÔͨ¹ý¸Ã¶ÔÏóµÄid»ònameÀ´·ÃÎÊ¡£
2¡£ÔÚvbscriptÖУ¬Äã¼ÈÈ»¶¨ÒåÁËoption explicit£¬ºóÃæµÄÿ¸ö±äÁ¿¶¼ÒªÉùÃ÷£¬µ«ÊÇÄãûÓÐÉùÃ÷msg1ºÍmsg2£¬Ó¦¸ÃÉùÃ÷¡£
3¡£¿ÉÄÜÊÇÄãµÄ±ÊÎó£ºvbscriptÖÐ msgbox msg2 & msg2 Ó¦¸Ãд³É msgbox msg1 & msg2 ²Å¶Ô£»htmlÖÐ<input type="text" value="name" neme="text1"> Ó¦¸Ãд³É<input type="text" value="name" name="text1"><p>£¬Ä㽫nameд³ÉÁËneme
4¡£<input type="button" value="vbbotton" name=vb1" onclick="aaa"> д´íÁË£¬Ó¦¸ÃÊÇ<input type="button" value="vbbotton" name=vb1" onclick="aaa()"> ×¢Ò⣬aaaºóÃæÓÐÀ¨ºÅ£»
ÕýÈ·µÄ´úÂëÈçÏ£º
<html>
<head>
<title> Welcome to my page </title>
<script language="javascript">
var rtn=false
function push_me() {
var msg1="this is a javascript message:"
var msg2=document.all.frmscript.text1.value
alert(msg1+msg2)
}
</script>
<script language="vbscript">
option explicit
sub aaa()
dim myform, msg1, msg2
set myform=document.all.frmscript
msg1 = "this is a vbscript message:"
msg2 = myform.text1.value
msgbox msg1 & msg2
end sub
</script>
</head>
<body>
<center>
<form name="frmscript">
<input type="text" value="name" name="text1"><p>
<input type="button" value="java" name="java1" onclick="push_me()"><p>
<input type="button" value="vbbotton" name=vb1" onclick="aaa()">
</form>
</center>
</body>
</html>
1¡£¶Ô textµÄvalueµÄÒýÓñØÐëÊÇ document.all.frmscript.text1.value ¶ø²»ÊÇ document.frmscript.text1.value £¬ ×¢Ò⣬documentµÄallÊôÐÔ·µ»ØÒ»¸ö¼¯ºÏ£¬¼¯ºÏÀïÃæµÄ¸÷ÏîÊÇ<body></body>Ö®¼äµÄ¶ÔÏ󣬿ÉÒÔͨ¹ý¸Ã¶ÔÏóµÄid»ònameÀ´·ÃÎÊ¡£
2¡£ÔÚvbscriptÖУ¬Äã¼ÈÈ»¶¨ÒåÁËoption explicit£¬ºóÃæµÄÿ¸ö±äÁ¿¶¼ÒªÉùÃ÷£¬µ«ÊÇÄãûÓÐÉùÃ÷msg1ºÍmsg2£¬Ó¦¸ÃÉùÃ÷¡£
3¡£¿ÉÄÜÊÇÄãµÄ±ÊÎó£ºvbscriptÖÐ msgbox msg2 & msg2 Ó¦¸Ãд³É msgbox msg1 & msg2 ²Å¶Ô£»htmlÖÐ<input type="text" value="name" neme="text1"> Ó¦¸Ãд³É<input type="text" value="name" name="text1"><p>£¬Ä㽫nameд³ÉÁËneme
4¡£<input type="button" value="vbbotton" name=vb1" onclick="aaa"> д´íÁË£¬Ó¦¸ÃÊÇ<input type="button" value="vbbotton" name=vb1" onclick="aaa()"> ×¢Ò⣬aaaºóÃæÓÐÀ¨ºÅ£»
ÕýÈ·µÄ´úÂëÈçÏ£º
<html>
<head>
<title> Welcome to my page </title>
<script language="javascript">
var rtn=false
function push_me() {
var msg1="this is a javascript message:"
var msg2=document.all.frmscript.text1.value
alert(msg1+msg2)
}
</script>
<script language="vbscript">
option explicit
sub aaa()
dim myform, msg1, msg2
set myform=document.all.frmscript
msg1 = "this is a vbscript message:"
msg2 = myform.text1.value
msgbox msg1 & msg2
end sub
</script>
</head>
<body>
<center>
<form name="frmscript">
<input type="text" value="name" name="text1"><p>
<input type="button" value="java" name="java1" onclick="push_me()"><p>
<input type="button" value="vbbotton" name=vb1" onclick="aaa()">
</form>
</center>
</body>
</html>
#3
重发一编:
你的错误主要在以下几个地方:
1。对 text的value的引用必须是 document.all.frmscript.text1.value 而不是 document.frmscript.text1.value , 注意,document的all属性返回一个集合,集合里面的各项是<body></body>之间的对象,可以通过该对象的id或name来访问。
2。在vbscript中,你既然定义了option explicit,后面的每个变量都要声明,但是你没有声明msg1和msg2,应该声明。
3。可能是你的笔误:vbscript中 msgbox msg2 & msg2 应该写成 msgbox msg1 & msg2 才对;html中<input type="text" value="name" neme="text1"> 应该写成<input type="text" value="name" name="text1"><p>,你将name写成了neme
4。<input type="button" value="vbbotton" name=vb1" onclick="aaa"> 写错了,应该是<input type="button" value="vbbotton" name=vb1" onclick="aaa()"> 注意,aaa后面有括号;
正确的代码如下:
<html>
<head>
<title> Welcome to my page </title>
<script language="javascript">
var rtn=false
function push_me() {
var msg1="this is a javascript message:"
var msg2=document.all.frmscript.text1.value
alert(msg1+msg2)
}
</script>
<script language="vbscript">
option explicit
sub aaa()
dim myform, msg1, msg2
set myform=document.all.frmscript
msg1 = "this is a vbscript message:"
msg2 = myform.text1.value
msgbox msg1 & msg2
end sub
</script>
</head>
<body>
<center>
<form name="frmscript">
<input type="text" value="name" name="text1"><p>
<input type="button" value="java" name="java1" onclick="push_me()"><p>
<input type="button" value="vbbotton" name=vb1" onclick="aaa()">
</form>
</center>
</body>
</html>
你的错误主要在以下几个地方:
1。对 text的value的引用必须是 document.all.frmscript.text1.value 而不是 document.frmscript.text1.value , 注意,document的all属性返回一个集合,集合里面的各项是<body></body>之间的对象,可以通过该对象的id或name来访问。
2。在vbscript中,你既然定义了option explicit,后面的每个变量都要声明,但是你没有声明msg1和msg2,应该声明。
3。可能是你的笔误:vbscript中 msgbox msg2 & msg2 应该写成 msgbox msg1 & msg2 才对;html中<input type="text" value="name" neme="text1"> 应该写成<input type="text" value="name" name="text1"><p>,你将name写成了neme
4。<input type="button" value="vbbotton" name=vb1" onclick="aaa"> 写错了,应该是<input type="button" value="vbbotton" name=vb1" onclick="aaa()"> 注意,aaa后面有括号;
正确的代码如下:
<html>
<head>
<title> Welcome to my page </title>
<script language="javascript">
var rtn=false
function push_me() {
var msg1="this is a javascript message:"
var msg2=document.all.frmscript.text1.value
alert(msg1+msg2)
}
</script>
<script language="vbscript">
option explicit
sub aaa()
dim myform, msg1, msg2
set myform=document.all.frmscript
msg1 = "this is a vbscript message:"
msg2 = myform.text1.value
msgbox msg1 & msg2
end sub
</script>
</head>
<body>
<center>
<form name="frmscript">
<input type="text" value="name" name="text1"><p>
<input type="button" value="java" name="java1" onclick="push_me()"><p>
<input type="button" value="vbbotton" name=vb1" onclick="aaa()">
</form>
</center>
</body>
</html>
#4
Sorry,
刚才搞错了,第一点你没有错,
========================================================
1。对 text的value的引用必须是 document.all.frmscript.text1.value 而不是 document.frmscript.text1.value , 注意,document的all属性返回一个集合,集合里面的各项是<body></body>之间的对象,可以通过该对象的id或name来访问。
========================================================
这是我搞错了,可以用document.frmscript.text1.value ,因为all是缺省属性,所以可以省略。
因此,代码可以写成
<html>
<head>
<title> Welcome to my page </title>
<script language="javascript">
var rtn=false
function push_me() {
var msg1="this is a javascript message:"
var msg2=document.frmscript.text1.value
alert(msg1+msg2)
}
</script>
<script language="vbscript">
option explicit
sub aaa()
dim myform, msg1, msg2
set myform=document.frmscript
msg1 = "this is a vbscript message:"
msg2 = myform.text1.value
msgbox msg1 & msg2
end sub
</script>
</head>
<body>
<center>
<form name="frmscript">
<input type="text" value="name" name="text1"><p>
<input type="button" value="java" name="java1" onclick="push_me()"><p>
<input type="button" value="vbbotton" name=vb1" onclick="aaa()">
</form>
</center>
</body>
</html>
刚才搞错了,第一点你没有错,
========================================================
1。对 text的value的引用必须是 document.all.frmscript.text1.value 而不是 document.frmscript.text1.value , 注意,document的all属性返回一个集合,集合里面的各项是<body></body>之间的对象,可以通过该对象的id或name来访问。
========================================================
这是我搞错了,可以用document.frmscript.text1.value ,因为all是缺省属性,所以可以省略。
因此,代码可以写成
<html>
<head>
<title> Welcome to my page </title>
<script language="javascript">
var rtn=false
function push_me() {
var msg1="this is a javascript message:"
var msg2=document.frmscript.text1.value
alert(msg1+msg2)
}
</script>
<script language="vbscript">
option explicit
sub aaa()
dim myform, msg1, msg2
set myform=document.frmscript
msg1 = "this is a vbscript message:"
msg2 = myform.text1.value
msgbox msg1 & msg2
end sub
</script>
</head>
<body>
<center>
<form name="frmscript">
<input type="text" value="name" name="text1"><p>
<input type="button" value="java" name="java1" onclick="push_me()"><p>
<input type="button" value="vbbotton" name=vb1" onclick="aaa()">
</form>
</center>
</body>
</html>
#5
谢谢各位,我明白了,小弟只有这些分了,
请多包涵
请多包涵