I am testing this JQuery plugin “Tag-it” by Levy Carneiro in my ASP MVC application.
I want the plugin to fetch tags that i have in my mssql database and i wonder how to connect to it if someone could help?
Now, my javascript looks like this:
$('#mytags').tagit({
availableTags: ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby", "python", "c", "scala", "groovy", "haskell", "perl"]
});
how should i write to connect to the address ‘/Questions/GetTags’ ?
JS
PHP SERVER side or find asp equivalent
To explain :
Your telling to fetch an ajax page, that returns a json object. and then you are telling that the input
#mytagsshould be atagitui, and then the tag it should have the json object to be its tagsavailableTags