Posts » jQuery


If you use Twitter Bootstrap tabs in forms with the "required" attribute, the browser does not know how to point out which element has the error. This is due to the fact that your erroneous element may not be visible. This quick script can help you focus the tab in which the error resides so that your user can find the element that needs to be filled.