wutao33543 发表于 2013-2-7 14:46:20

Prototype实战教程----3.$F

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>    <head>      <title>$F</title>      <script type="text/javascript" language="javascript"         src="prototype.js" ></script>      <script type="text/javascript" language="javascript">      function test()      {            alert($F("userName"));      }      </script>    </head>    <body>      <form>            <input type="text" id="userName" value="test username">            <input type="button" value="click" >      </form></html>
页: [1]
查看完整版本: Prototype实战教程----3.$F