So far I know that we can store data in html element by using:

```
<div  data-test="hello">
$.("div").data("test")

```

However , I just can store raw text for data attribute

what I need is:

```
var t= hello
<div data-test=t>

```

but when I tried this , it shows the letter `t` instead of `hello`.