Majid Hussain
Majid Hussain
Your code seems to be working okay for me. It is validating in both cases.
It is doing so, i mean applying the css, but it looks little diffrent from the one you have used manually.
remove the required="required" from input element in your html, and also comment out the extend method, now run it and notice the border color of input. Now add the required="required"...
this might answer your question. http://stackoverflow.com/questions/5478800/override-css-for-html5-form-validation-required-popup try placing the the mouse over the input field, after adding required attribute on input while extend remains commented. You will see this "Please...