Smutty

MVC Framework

Live Search Demo

The text field below implements basic "live search" type functionality. The field is created with the {field} function, but this time we use the update and url attributes to enable ajax callbacks. The feedback attribute is also set to specify the element to show feedback of how the call is going.

If you type some text into the field above then after a pause (it checks you've stopped typing for a moment) it'll submit the query to the server and then the results will be displayed.

Show Me The Source!

Useful Pages

Links