<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script src="js/jquery-1.4.1.min.js"></script> <title></title> <script type="text/javascript"> $(document).ready(function () { $('#show').val('input赋值内容'); }); </script> </head> <body> <input id="show"/> </body> </html>