16
rated 0 times
[
19]
[
3]
/ answers: 1 / hits: 24773
/ 7 Years ago, wed, june 28, 2017, 12:00:00
I have variable which i am getting from DB string url, But the url does not have quotes to url i need to add the quotes to it below is my code.
var audioUrl
url is having string like http://xxxxx/xxx/xx-xx-123.m4a without double quotes
audioUrl= (data.url)
i need convert data.url value to http://xxxxx/xxx/xx-xx-123.m4a
Circle Jplayer
var audio=http://xxxxx/xxx/xx-xx-123.m4a
var myOtherOne = new CirclePlayer(#jquery_jplayer_2,
{
m4a: audio,
}
More From » jquery