|
Post by ItsMichael on Dec 30, 2005 19:14:48 GMT -5
<script type='text/javascript'> //Disable post button untill certain message length //created by CrAzY_J var min = 300; if( document.postForm ) { if( document.postForm.message.value.length < min ) document.postForm.nextaction.nextSibling.disabled = true; document.onkeyup = function() { if( document.postForm.message.value.length < min ) { document.postForm.nextaction.nextSibling.disabled = true; }else{ document.postForm.nextaction.nextSibling.disabled = false; } } } </script>
*****************
Concerning the One Liners. This will help if Joekr uses it. Edit the red bit to choose how many characters is required in a post before it can be posted.
|
|