Blog Archives

Customize form validation by using jQuery validation plugin

Capture

Sometime form validation is trouble thing for building front page, in this article briefing a method which allow us to customize the validation by adding ourselves’ rule.

Tagged with: ,
Posted in HTML5, Javascript

How to make jQuery validation engine works well for select2()

How to make jQuery validation engine works well for select2()

When we use select2 to prettify selector element , the jQuery validation engine will do not work well for it. A lot of people have to do custom validation function to hand over it.

It’s very troublesome, is there any way to solve this problem?

Tagged with: , ,
Posted in Javascript

Paint flash neon light in dark by CSS3 & jQuery

csslight

box-shadow in CSS3 is a very useful feature, can do some very nice UI effect for webpage. In this demo that I did user can click anywhere to create a flashing neon light, more and more neon lights in the dark like bustling street in camera lens which lost focus.

Tagged with: , ,
Posted in CSS3, Javascript