说是这句(isNumberstring(a,"1234567890")=1)没有对象.

解决方案 »

  1.   

    不太清楚
    isNumberstring(a,"1234567890")=1--》isNumberstring(a,"1234567890")==1 但可能这个不是问题所在看看这个吧
    http://community.csdn.net/Expert/topic/3594/3594636.xml?temp=.3850824
      

  2.   

    var jcbh1;
    jcbh1=window.prompt("请输入数据:");
    b=parseInt(jcbh1)
    document.write(b)
      

  3.   

    var jcbh1;
    jcbh1=window.prompt("请输入数据:");
    b=parseInt(jcbh1)
    document.write(b)为正解,parseInt函数试图从字符串中提取一个整数!
      

  4.   

    while (true){
      i++;
      var a;
      a=jcbh1.substr(0 ,i);
      if (isNumberstring(a,"1234567890")=1) -->   if (isNumberstring(a,"1234567890")==1)
        { ture;}           -->true
      else 
        { flase;}          -->false
    }
      

  5.   

    VBDN(王水云)和 lienzhu(李强)说得对,这样就解决了,只是为什么我原来那样写不对呢? chf2000_ren(小排)你这样写也一样出现(isNumberstring(a,"1234567890")=1)没有对象.谁能解释一下呀?
      

  6.   

    高手们,我现在是想知道出现(isNumberstring(a,"1234567890")=1)没有对象是什么原因,请大家解决一下.
      

  7.   

    isNumberstring(a,"1234567890")=1 这句是什么意思?