JSメッセージ関数の単純な実装ケース(推奨)
< xmlns = "http://www.w3.org/1999/xhtml"> <head> <meta http-equiv = "content-type" content = "text/html; charset = utf-8"/> <title> untled document </title> jQueryパッケージ</head> <body> <div id = "nr"> </div> <div> content:<textarea id = "txt"> </textarea> <br/> <入力タイプ= "button" value = "submit" id = "btn"/> </div> </body> <script = "text/javascript" id = btnとクリックイベント$( "#btn")。クリック(function(){//テキストフィールドで値を見つけますvar nt = $( "#txt")。 (nt+"<br>")トップID nrとgo $( "#nr")上記は、編集者が提起したJSメッセージ関数の単純な実装ケース(推奨)です。誰もがwulin.comをもっとサポートすることを願っています〜