Welcome Guest, Not a member yet? Register   Sign In
CI ajax auto complete field
#1

[eluser]edhrx[/eluser]
Hi,
I'm just starting to play around with this but I'm getting a javascript error.

When I put this in:
<?=$this->ajax->auto_complete_field('surname', array('url' => 'names'))?>

I get :
var surname_auto_completer = new Ajax.Autocompleter('surname', 'surname_auto_complete', 'names', {} )

Which give a javascript error Ajax not defined ( picked up by Firefox/firebug)
Ajax.Autocompleter is called from controls.js

I have all this lot called






Am I missing a js file somewhere ?

best wishes Ed




Theme © iAndrew 2016 - Forum software by © MyBB