HTML5 Boilerplate


This template is a great starting point when creating a new website. The template contains jQuery, Modernizr, uses HTML5 tags and CSS3 also.

The template comes with and index.html page which should be base of all your pages in the site, it also has a 404.html page which can easily be changed to fit your sites theme.The template also handles using HTML5 tags in older tags with the aid of the Modernizr script.

Its definitely worth trying it out for any sites you need to create.

jQuery form.submit() not working

I was working on a basic html form recently. The form was using the jQuery validation plugin. Once validated I needed to submit the form using the jQuery .submit() function.
For some reason this was not working for me. After searching Google for a very long time and trying out lots of potential solutions I found the answer was a very simple change.
This was my issue. The name=”submit” was conflicting with the jQuery .submit() function.

<input type="submit" name="submit" value="Submit" />

It should have been:

<input type="submit" value="Submit" />
 Scroll to top