Ive been working on a guestbook with php recently and ran into a few problems.
Hillbillie suggested I used an image-rendering library, so that the users would have to input this information and prevent scripts from continually posting. My host doesn't provide one, would creating random images with PHP work just as good?, or should I create some images myself and randomly go through them?
When performing client side validation with JavaScript DIVs appear above the submission form with an error message. If the user fixes an error and submits again, the DIV with the error disappears. When I used display:none, Firefox and Oprea removed the div itself and the text, however IE didnt remove the text. I fixed that by setting innnerHTML = "". The problem is the height of the div still remains. Ive tried:
document.getElementById("").height = 0;
document.getElementById("").style.height = 0;
and neither work, anyone know how to access the DIV height?
Thanks