General

ASP.net Client-side Validation

A couple of days ago, I faced a situation whereby I needed to add some form validation to an aspx page. I had options of either JavaScript or ASP.net client side validation. JavaScript seemed like an easier solution... <h5>Client-side JavaScript for form validation</h5> [code lang="js"] <script language="javascript"> <!-- Function CheckForm(form) { for(var intCtr = 0; intCtr <= (form.elements.length - 5); ++intCtr) { var temp = form.elements[intCtr]; if(temp.type == "text" && temp.value == "") { alert("Please Enter All Information!"); temp.focus(); return false; } } return true; } //--> </script> [/code]

(more…)

By Given Mthimunye, ago
General

The house that Nikki Built

Wow been a while since i last wrote a note (yes i have been listening to STING & THE POLICE this week…alot). A colleague of mine recently launched a new website promoting her need for a piece of land in Linden, check it out maybe you can help maybe not, Read more…

By Manny, ago
General

Detect Mobile Browsers

Here is a great open source mobile phone detection¬†resource . [button link=”http://www.detectmobilebrowsers.com” size=”small” target=”self” color=”blue”]http://detectmobilebrowsers.com/[/button]

By Manny, ago
General

HTML5 Storage

A really nice overiew of the HTML5 storage spec. with loads of neat resources to follow on to and learn from check it out. [button link=”http://www.html5-demos.appspot.com/static/html5storage/index.html” size=”small” target=”self” color=”orange”]www.html5-demos.appspot.com/static/html5storage/[/button]

By Manny, ago
General

Stickyfooter using CSS only!!!!!!!!!

I recently had to use a sticky footer in a build for Circle ICT. If you want to stick a footer to the bottom of the page no mattter how long or short the content is use this = ¬†[button link=”http://www.cssstickyfooter.com/using-sticky-footer-code.html” color=”orange” size=”small” target=”self”]STICKYFOOTER >>[/button] Works a treat, as used Read more…

By Manny, ago