Tuesday 21 June 2016

Add image source in Jquery :: jquery image src add

Add image source in Jquery

 jquery image src add


var src1 = '<%=Url.Content(Server.MapPath("~/AppData/1.jpg"))%>'; 

$("#imgLocation").attr("src", src1);

2 comments:

  1. Thank you for putting an effort to published this article. You've done a great job! Good bless!


    Hire Yii Framework Developers

    ReplyDelete