external file

megan's Avatar

megan

02 Jun, 2010 03:02 PM

I am using the autosuggest plugin, but when I try and reference json file with the data included, it is finding the file, but not returning the suggestions. I have tried various different options but cant get it to work. When I take the same data from the json file and embed it in the page it works fine. Any ideas?

The code I have in the page with the input box is

    $(function () {
        $("input[type=text]").autoSuggest("library/services/autosuggest1.aspx");
    });       
</script>

and I am uploading the autosuggest1.aspx file which contains the data

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • autosuggest1.aspx 1.81 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac