Search Wiki:
Resource Page Description


Plugin para aplicar watermark a input box o textbox (asp).
Recibe dos parámetros:
JQuery.WaterMarkOn(param1, param2);
param1: string conteniendo aquellos input box o textbox en los que no se desea aplicar el watermark.
param2: string "true" o "false" que indica si se desea seleccionar el texto al obtener el foco.
Ejemplo:
JQuery.WaterMarkOn("input3,input5", "true");
En el ejemplo anterior se indica que al input3 y al input5 no se aplique el watermark y que se desea realizar un select a los input.

Aquí pueden ver el ejemplo en acción. http://webinfo.es/ejemplosjquery/ejemplo8/index.html
El plugin consta de dos ficheros, el código jquery y un fichero css para que puedan personalizar el watermark.

---------------------------------------------------------------

Plugin to implement a watermark textbox or input box (ASP).
Takes two parameters:
JQuery.WaterMarkOn (param1, param2);
param1: string containing those textbox or input box in which you do not want to apply the watermark.
param2: string "true or false that indicates if you want to select the text to get the focus.
Example:
JQuery.WaterMarkOn (INPUT3, input5 "," true ");
In the example above indicates that INPUT3 and andalusia andalusia input5 not apply watermark and you want to make a select input.

http://webinfo.es/ejemplosjquery/ejemplo8/index.html Here you can see the example in action.
The plugin has two files, the jQuery code and a css file so that they can customize the watermark.
Last edited Jan 3 at 3:27 AM  by fsancab, version 4
Updating...
Page view tracker