|
|
|
|
|
by mjevans
2290 days ago
|
|
Do it like they did in the good old days when JS was new and couldn't be relied upon to exist. Don't rely upon it to exist. Serve up well marked content, CSS that might format it nicely, and JavaScript that allows some types of per-validation to happen client side but only as a means of making a page nicer. The server side should STILL perform all data validation, normalization, and verification (assume someone will craft their own form submission). |
|