On Oct 16, 2007, at 12:54 PM, [EMAIL PROTECTED] wrote:

1.  How to style the input or textarea? specially for the height.

Normally using css, or

* @param Integer options[rows]      number of rows if using textarea
* @param Integer options[cols]      number of columns if using textarea

or

* @param Mixed   options[height]    'auto', 'none' or height in pixels
* @param Mixed   options[width]     'auto', 'none' or width in pixels

'auto' calculates dimensions of of original element. Use 'none' if you want to give full control to css.

2.  How to add validate to prevent submit wrong content?

Best option would be to use one of ready made validation plugins. For example:

http://bassistance.de/jquery-plugins/jquery-plugin-validation/

--
Mika Tuupola
http://www.appelsiini.net/



Reply via email to