Archive for October, 2013

Form Validation

Friday, October 11th, 2013

Form validaion is a bit like picking spuds, you know you want to eat the spuds, but you got to dig them and then pick them (spuds are potatoes for the non Irish reading this)  so how do we do this efficiently, well I’ve been starting to use the jQuery Validation Plugin it seems to work pertty good, and it’s plain and simple, so how does it work, well the doc’s are a bit sparce, and it’s javascript, which isint the easyest language in the world to program in.

 

so here goes:

Put below at the top of your html web page, this collects the jquery and the jquery validate library’s

 

Then you need add the scripting part, i do a standard debug check to see that jquery works first.

 

Now we have the script ended we can start the HTML and the form

 

 

Thats pretty much it,  yes you can do alot more fancy stuff, but this is a start to get you going.

An HTML option list for the coutnies of Ireland

Thursday, October 10th, 2013

This is a reminder for myself, but when your doing a site and your looking for a HTML option list for all the counties of ireland see below, for those that are wondering the hell I’m on about, see below:

http://www.w3schools.com/tags/tag_select.asp

 

List is below