Revision: 45779
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 7, 2011 16:59 by MatthewNickson
Initial Code
<html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#submitButton").click(function() { if($("#textin").val() == "") { $("#resdiv").append("(No Text)<br />") } else { $("#resdiv").append($("#textin").val() + "<br />"); } }); }); </script> </head> <body> Text In :<br /> <textarea id="textin"></textarea><br /> <input type="button" id="submitButton" value="Send Text" /><br /> <hr /> <div id="resdiv"></div> <hr /> </body> </html>
Initial URL
Initial Description
Initial Title
jQuery simple print textbox
Initial Tags
Initial Language
jQuery