More Event Handlers – OnFormChange

Not sure but my other post was buggin out. Must be the script or the ck editor that keeps adding the p tag.

At any rate let's carry on with the onformchange event handler. – coming soon…

	<input id="myinputbox" onformchange="somethingfishy();" />  
        Enter your name

	function somethingfishy(){

	var x = document.getElementById("myinputbox");
         if(x.value == " Badword "){
        x.value ==" try again ";