Concatenation in JavaScript -
my code this
var call_from='fb_test' jquery('.test').html("<img src=\"https://wwww.socialappshq.com/images/socialapps/loading.gif\" height=\"15\" width=\"15\" id=\"loading_image_\" + call_from + \">"); but it, not correctly concatenate please me
when write html using javascript, prefer ' enclose strings , " enclose attribute values
var call_from='fb_test' jquery('.test').html('<img src="https://wwww.socialappshq.com/images/socialapps/loading.gif" height="15" width="15" id="loading_image_' + call_from + '">');
Comments
Post a Comment