I have seen many times people saying that we have to do validation both with JS enabled and on php side if JS is disabled.
I am doing JS validation only and i am submitting the form through JS
likeSO that if JS is disabled form should not submit at all .Code:this.form.submit()
Is there any drawback in that approach or i am missing something
Because my all site functioning based on JS so if JS is disabled there is no point in submitting data