首页 相关文章 Prototype实战教程----15.ObjectRange

Prototype实战教程----15.ObjectRange

script src="prototype.js"/scriptdiv id="div1" style="font-size:20px;font-weight:bold"ObjectRange/divscriptvar range = $R(1, 10, false);var range2 = $R(1, 10, true);  alert(range.merge(range2));// truealert(range.include(1));// truealert(range.include(5));// truealert(range.include(10));  // truealert(range2.include(1));// truealert(range2.include(5));// falsealert(range2.include(10));/script

[ 查看全文 ]

2016-02-19 标签:

Prototype实战教程----15.ObjectRange的相关文章

手机页面
收藏网站 回到头部