Hiya Working demo here: http://jsfiddle.net/67dxH/
There was already a good discussion above, as you said, the behavior is similar: value of the hidden tag as = @[C#] and the textarea as @C#
Hope this is a helpful person, let me know how this happens, cheers! :)
JQuery code
function split(val) { return val.split(/@\s*/); } function extractLast(term) { return split(term).pop(); } function getTags(term, callback) { $.ajax({ url: "http://api.stackoverflow.com/1.1/tags", data: { filter: term, pagesize: 5 }, type: "POST", success: callback, jsonp: "jsonp", dataType: "jsonp" }); } $(document).ready(function() { $("#tags")
Tats_innit
source share