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

setTextboxWidth

Sets the width size for a textbox field
void setTextboxWidth ( String fieldName, int size )
Sets the width of textboxes to something less or more than 20. This is useful if/when making ajaxCRUD forms mobile-friendly

Details

Type function
Returns void
Default 20

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->setTextboxWidth('fldMyField', 10);

See also

New, Edit

 

"OMG! This is just what I was looking for. Thanks so much. This is amazing!"
~Simone

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