Rune Grønkjærs Blog
Abonnér på mit feed

Category Archives: regexp

Javascript Date extension

The javaScript Date object is probably the hardest object to use, as it seems very complicated to the uninitiated. Very often I have needed to abstract from the complexity of the javascript Date object. I have written some extension methods to the Date object that can be very handy in many diferent situations.
Also posted in Date, Extension, Javascript |

Javascript String extension

This time the subject will be extension of strings in javascript. Real programming languages usually contains quite a lot of methods you can call on it’s strings. In javascript you have to do much of the work yourself. I have over time collected or written some extensions to the string object that can make life a lot easier. For a complete reference of all the string object’s methods, follow this link to w3schools
Also posted in Extension, Javascript, String |

Javascript jQuery form validation

Client side validation of forms is often something something we struggle with in Dynamicweb. Dynamicweb default form validation has one option and that is: should the box be filled out or not. With the plugin I have written, we get some more opportunities to validate our forms. My jQuery form validation plugin, is based on our needs in Dyanmicweb, but it can easily be used for other html forms as well.
Also posted in Array, Date, Javascript, jQuery, Plugin |
Dansk version