Tag Archives: input

JS: Entering Text in Input Box

This little piece of code will allow you to dynamically write text into a form text input. Here’s an example: Add’Hello’ Add ‘GoodBye’ Clicking each link concatenates said text using Javascript. This can be accomplished very easily. First the Javascript. Create our handlers with a bit of a twist: <script type=”text/javascript”>// <![CDATA[ // ]]></script> The […]

PHP: Comments Form and Display

This quick tut will show you how to create a comments system for your website. Let’s pretend we have a page of text, and, at the bottom, we have a form and your comments.   Create a file called “comments.php”. If you would like the form to be directly on your website and not an […]

PHP: Writing Files

Update: I found a function (file_put_contents) that does the below work for us: file_put_contents($filename, $data, $flags); If you need more info, look the function up on PHP.net.     Let’s say we have a form that submits the inputted info to a PHP page. Instead of emailing the info to us, we want to write […]

Flash: Textboxes

This short tutorial will show you how to use all three types of text boxes in Flash: Static Dynamic Input You’ll be able to make something like this at the end: (Source at bottom) The above animation can be achieved using the same tool three times and some simple code.   Static First, select the […]