Useful javascripts function
This is some simple jQuery function i used for my pets project. Check it out
This is some simple jQuery function i used for my pets project. Check it out
One to many example, one Country has many State. Lets look at the country class. In the country class, there is a set of states but no @column define because country table doesn’t need to store states. @OneToMany(mappedBy=”country”) this annotation indicate
A simple javascript email validation. function emailRegx(text){ var pattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/; return (pattern.test(text)) ? true : false; }