The Developer Day | Staying Curious

Sep/07

24

Javascript forms innerHTML issue

If you would do something like this while validating a form:

document.getElementById('your_form_id').innerHTML += 'any text';

Your form will get reseted and there’s nothing more to validate.

RSS Feed

No comments yet.

Leave a comment!

<<

>>

Find it!

Theme Design by devolux.org