A standard text area element that is styled to match the dizmo theme.
<textarea id="my-textarea" data-type="dizmo-textarea" cols=20 rows=3></textarea>
This only works on textarea
elements.
Manual initialization:
DizmoElements('#my-textarea').dtextarea();
To get the current textarea
value:
var data=DizmoElements('#my-textarea').val();
To set the textarea
value:
DizmoElements('#my-textarea').val('my text');
To get the textarea
value after the focus has shifted:
DizmoElements('#my-textarea').on('blur',function(){
var data=DizmoElements('#my-textarea').val();
});