Im creating a simple web app, and was going to use the Autocomplete Jquery
to allow for autocompleting a text field.
>From this script :
Example :
$(function() {
$("#gene").autocomplete({
source: "states.pl",
minLength: 2,
select: function(event, ui) {
$('#state_id').val(ui.item.id);
$('#abbrev').val(ui.item.abbrev);
}
});
Now how do I get the script to run that source file, states.pl ? Currently
it is giving me a 404 Not Found error. I have tried putting the script in
the root, public and the folder in which the script for the form exists to
no avail.
Thanks,
Anir
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.