Regular expression examples Categorías: Código PHP Javascript Etiquetas: Regex Code examples PHP Javascript Postal code DNI/NIF validation Email Hour:minute:second Replace strings in SQL query Search breakline Postal code This will check european postal code (eg: 28008) and US postal code (eg: 12005-1234) Leer más sobre Regular expression examples
Google Maps autocomplete search example Categorías: Código Javascript Etiquetas: Google Maps Javascript examples Objective Get latitude and longitude from a Google Address when an user type in an input form Leer más sobre Google Maps autocomplete search example
Drupal 7 ajax example in block module Categorías: Código PHP Javascript CMS Drupal Etiquetas: Drupal PHP Code examples AJAX Javascript Objective Create a module and a new block that will call an ajax function to show some info dynamically Leer más sobre Drupal 7 ajax example in block module
Javascript focus first visible input in Boostrap modal Categorías: Código Javascript Etiquetas: Javascript JQuery Bootstrap Code examples // focus first visible element after load Bootstrap modal Leer más sobre Javascript focus first visible input in Boostrap modal
Wordpress ajax example Categorías: Código PHP Javascript CMS Wordpress Etiquetas: Wordpress Code PHP Javascript examples AJAX Simple ajax example to show some info every 3 seconds, loading it from php in your plugin or theme functions.php file Javascript Include this code in your theme header.php for example <script type="text/javascript"> Leer más sobre Wordpress ajax example
Javascript collapse div with JQuery and Bootstrap Categorías: Código Javascript Desarrollo web Etiquetas: Javascript JQuery Bootstrap Ejemplos Notas Collapse only one div HTML <!-- user should click here --> Leer más sobre Javascript collapse div with JQuery and Bootstrap
Javascript upload files with AJAX Categorías: Código Javascript Desarrollo web Etiquetas: Javascript JQuery upload PHP The objective is to save form data with file inputs and AJAX. Step 1: process files before the rest of data, save them to disk and database. Step 2: process the rest of field inputs, validate and the save them all. HTML <div id="wrapper"> Leer más sobre Javascript upload files with AJAX
Javascript html file input with an image Categorías: Código Javascript Desarrollo web Etiquetas: Javascript HTML Javacript function getFile() { Leer más sobre Javascript html file input with an image
Javascript JQuery find element by data attribute Categorías: Código Javascript Desarrollo web Software Etiquetas: Javascript JQuery data-attribute Code HTML <div class="form-group "> Leer más sobre Javascript JQuery find element by data attribute
Javascript validate form before submit Categorías: Código Javascript Desarrollo web Software Etiquetas: Javascript Code validate Some functions to validate a form before submit HTML form <form name="example-form" method="post" action=""> Leer más sobre Javascript validate form before submit