This topic has been archived. It cannot be replied.
-
枫下家园 / 电脑用户 / 老师留的作业,用ASP编程 要就是在第一页可以任意输入一个2进制的IP地址 然后点一下按扭跳到第2页还得把他转换成10进制的 要是输入有错误就要在第一页显示错误信息。因为刚学了4,5节课 所以觉得很难 。请大家帮帮我吧。老师留的作业,用ASP编程 要就是在第一页可以任意输入一个2进制的IP地址 然后点一下按扭跳到第2页还得把他转换成10进制的 要是输入有错误就要在第一页显示错误信息。因为刚学了4,5节课 所以觉得很难 。请大家帮帮我吧。
-kanghuhu(kanghuhu);
2003-10-5
{204}
(#1399618@0)
-
很简单,二进制就是0和1, javascript判断输入字符是否是这二位,或者还包括符号., 然后长度符合规定, javascript 返回true,页面导入下一页, asp获得2进制的IP地址,相应算法转化为10进制
-bill_hu(huhu);
2003-10-5
(#1400188@0)