Warning: include_once(/home/loudcanv/public_html/includes/location_functions.php): failed to open stream: Permission denied in /home/ajaxcrud/public_html/preheader.php on line 44

Warning: include_once(): Failed opening '/home/loudcanv/public_html/includes/location_functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ajaxcrud/public_html/preheader.php on line 44
ajaxCRUD.com » ajaxCRUD API :: setTextareaHeight - Use PHP & AJAX to CRUD from a mysql database table (create / read / update / delete)

ajaxCRUD.com

» a PHP class to Create, Read, Update, & Delete from a mysql database table using AJAX

   by loud canvas media

AjaxCRUD Class Documentation / Reference Material

<< Reference overview
<< Home

setTextareaHeight

Sets the textarea height for a field
void setTextareaHeight ( String fieldName, int size )
This function should be used where the known input text will most likely be longer (than for a regular text field) eg a "Description" field or a field to input HTML.

This function automatically sets a field to use a textarea for editing / adding

Details

Type function
Returns void
Default input box

Parameters

fieldName
The field name which will use a textarea input to handle the user data
size
The height (in pixels) of the textarea

Example

$tblDemo->setTextareaHeight('fldLongField', 200);

See also

New, Edit

 

"Thanks a lot for all AjaxCRUD project. It makes my day... works like a charm!"
~jveyes

What is a business/commercial website?

A commercial website is one created for a business, for which purpose is generating revenue or cash flow of any type (and that isn't under a non-profit organization). So if you're selling a product, selling advertisement, selling a service, or just marketing a commercial business, your site is commercial. A company website is also commercial even if it doesn't sell anything, as it's purpose is to front a commercial company.
Close