$registrationScripts .= $suggest->getJs(); //Register suggest support for our second text field //Note that we're using the same callback, //but a different container id, and a different style //We're also using a different tag delimiter.. $suggest = new Core_Sijax_Plugin_Suggest(); $suggest->setFieldId('textbox2'); $suggest->setContainerId('suggestionsContainer2'); $suggest->setCallback('suggestTags', array($handler, 'suggestTags')); $suggest->setItemCssClass('sjxSuggest-item-custom'); $suggest->setItemSelectedCssClass('sjxSuggest-item-custom-selected'); $suggest->setDelimiter(','); $registrationScripts .= $suggest->getJs(); //Tries to detect if this is a Sijax request, //and executes the appropriate callback Core_Sijax::processRequest(); ?> <!DOCTYPE html> <html> <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <!-- This is the recommended way of loading the core files.. <script type="text/javascript" src="url/to/sijax.js"></script> <script type="text/javascript" src="url/to/sijax_suggest.js"></script> --> <script type="text/javascript"> <?php //Including the files using script-src tags is the