I'm using Tagsmanager for JQuery: http://welldonethings.com/tags/manager
Its possible to push tags via Ajax:
jQuery(".tm-input").tagsManager({
AjaxPush: '/ajax/countries/push',
AjaxPushAllTags: true,
AjaxPushParameters: { 'authToken': 'foobar' }
});
But what does the file in /ajax/countries/push have to look like to get tags? Could someone post an example please? It would be great if this file could be PHP.
AjaxPush
doesn't get the tags at all, it's for setting tags. It needs to accept a POST with an array of tags coming on on the tag
parameter.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.