Hello Everybody i have this code and i'm a beginner at ajax things ,and i'm using tinymce jquery and i'm using mention plugin which i found in,so what i'm doing in this code is to make a list of users that i can mention to so i need to make this code run:

mention plugin website is:
<https://github.com/CogniStreamer/tinyMCE-mention>

> 
> WebMethod Part:
> 
> 
> 

```
 [WebMethod]
    public static string GetUsers()
    {
        return "[{name:'Messi'},{name:'Jason'},{name:'Omar'},{name:'Eren'}]";
    }

```

> 
> and here is the ajax code part:
> 
> 
> 

```
 function dat() {
            $.ajax({
                type: "POST",
                url: "Default.aspx/GetUsers",
                data: "{}",
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (data) {
                 alert(data.d);//show me this alert "[{name:'Messi'},{name:'Jason'},{name:'Omar'},{name:'Eren'}]"
                    return data.d;
                },
                error: function (data) {
                    return "";

                }
            });
        }

```

> 
> and here is the jquery tinymce options part:
> 
> 
> 

```
 tinymce.init({

        selector: '#Selector',
        theme: 'modern',
        elements: "rte",
        plugins: [
          'advlist autolink mention lists link image charmap  preview hr anchor pagebreak',
          'searchreplace wordcount visualblocks visualchars code fullscreen',
          'insertdatetime media nonbreaking  table contextmenu directionality',
          'emoticons template paste textcolor colorpicker  imagetools'
        ],
        mentions: {
            source:dat()//the default option was [{ name: 'Messi'},{name:'Jason'},......]
        },})

```

so really what i need to do is to convert dat() return part to be just like the default
and i'm really thankful for helping me