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

setAjaxFilterBoxSize

**THIS FUNCTION IS DEPRECATED AS OF V6.0; use second (optional) param of addAjaxFilterBox instead**

sets the size (lengh of the textbox) of an ajax filter box
void setAjaxFilterBoxSize( String fieldName, int size)
Use this function when you want to increase or decrease the size of an ajax filter box. You must use the addAjaxFilterBox(fieldname) or addAjaxFilterBoxAllFields() function in order to make this work

Details

Requires addAjaxFilterBox or addAjaxFilterBoxAllFields
Type function
Returns
Default 10

Parameters

fieldName
name of the field you want to search by
size
size of the textbox (eg 5, 10...)

Example

$tblDemo->addAjaxFilterBox('fldField1'); $tblDemo->setAjaxFilterBoxSize('fldField1', 4);

See also

New, Edit

 

"I have been using php like 5 years ago, but it feels like it is 20 years ago :-) Now I have found an incredible module AjaxCRUD and damn, this is nice!"
~Joeri

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