PDA

View Full Version : JQuery search function failing



sniperman
09-06-2011, 02:30 PM
Having a problem with a function call from a search box on an order form on http://www.teammed.com.au/place-an-order-online.

The search box uses jQuery UI Autocomplete 1.8.12 for each keystroke

<form action="/index.php" name="jaForm" method="post">
<td>Search for product: </td>
<td><input type="text" class="ja_input" name="search_product" id="ja_search_product" value="" size="50" /></td>
</form>

And passes two parameters to this script

<script type="text/javascript" src="http://www.teammed.com.au/plugins/system/jalib20/combine.php?option=com_orders&template=yoo_air&type=js&f=jquery.pack,jquery.ui,jalib,orders"></script>
<script type="text/javascript">/* <![CDATA[ */
var ja = jQuery.noConflict();
ja.jalib.option = 'com_orders';
ja.jalib.controller = 'dashboard';
ja.jalib.itemid = '0';
/* ]]> */</script>

In Google Chrome Element Inspector, combine.php fails on line 17 with an Uncaught TypeError: Object [object Object] has no method 'search'

I'm having a hard time trying to figure out the reason. The order form was working fine for 6 months.