Expand|Select|Wrap|Line Numbers
- <head><script language="JavaScript">
- var dynamic_code_index;
- var dynamic_code_index="Click a button to display the code in the textbox";
- function SetTextbox (num) {
- dynamic_code_index=num;
- }
- dynamic_code_view.dynamic_code_box.value=dynamic_code_index;
- // Makes a usable variable which is applied to the textbox
- </script></head>
- <body>
- <!--creates the form and stuff!-->
- <form type="dynamic_code_view" action="" method="GET">The code will be displayed into the box: <BR>
- <input type="text" name="dynamic_code_box" value="This website is not working properly"><P>
- <input type="button" name="button1" value="example" onclick=SetTextbox('hello')>
- </form>
- </body>