Tag javascript

Javascript CNP Validator

Use the following function to validate your CNP string: /** * Validate CNP * @param {string} value CNP * @returns {boolean} Valid or not */ function validateCNP (value) { var re = /^\d{1}\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])(0[1-9]|[1-4]\d| 5[0-2]|99)\d{4}$/, bigSum = 0, rest = 0,…
Read More

msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers.

<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?> <!DOCTYPE ServiceExceptionReport SYSTEM ""> <ServiceExceptionReport version="1.1.1"> <ServiceException code="InvalidSRS"> msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers. </ServiceException> </ServiceExceptionReport> This error appears when the map variable of Openlayers…
Read More

mrbunnycooking.com

mrbunnycooking.com is a cooking blog based on WordPress. Some of the modifications and features will be described below: WordPress child theme; custom css, php and javascript; custom sizes for WordPress images, automatic resize of images inside a post; usage of…
Read More