不好意思 ,能解释下prototype框架是什么吗 ?
我以前看到别人写这个东西,还以为只是个js类什么的呢

解决方案 »

  1.   

    一个轻量级的javascript框架,http://www.prototypejs.org/,开发web页面时可以选用它,有许多封装好的方法可以用。$方法就是其中的一个,表示document.getElementById
      

  2.   

    这个其中一个js文件开头部分的一段代码:var Class = {
        create: function() {
    return function() {
      this.initialize.apply(this, arguments);
                       }
                  }
       }var ezEIPPage = new Class.create();
    ezEIPPage.prototype = {
    initialize: function() {
        },
    Mode:1,
    Refresh:function(){
    var MainPath = $("#MainPath")[0].value;这是用的 prototype 框架吗 ?
      

  3.   

    $("#ShowMessage").css("display","none");
    估计是 jQuery的写法,不是prototype
    请参考这里:
    http://jquery.org.cn/
      

  4.   

    jQuery 又是做什么用的 , 一大堆代码看得有些晕哎 !