Make a normal Breezing Forms / FacileForms textarea element. On the Scripts Tab of the element insert this piece of code- function ff_message_action(element, action){ switch (action) { case 'click': if (element.value=='Please write your message here.'){element.value=''}; break; case 'blur': if (element.value==''){element.value='Please write your message here.'}; break; default:; } }
The function name "ff_message_action(element, action)" must have the element name as the first portion. In this case the textarea element is named message. In the value area of the textarea "Settings" form you place the text that you used in the Javascript. Please write your message here. ![]() |
| Laatste aanpassing op woensdag 16 december 2009 15:31 |
























