I am not that much familiar with javascript/jquery. I want to put image path in img src. Is that possible to do that like we do in php or some other i need to use.
<img src="path of file that will come from javascript/ajax" width="35" height="30" id="profile" class="profile img-circle" name="profile" data-original-title="Steve" alt="Steve">
I know in php it is quite easy.
<img src="<?php echo $imgpath; ?>" width="35" height="30" id="profile" class="profile img-circle" name="profile" data-original-title="Steve" alt="Steve"></a>
I tried putting the same way we did in php like <script>imgpath</script>
but it is not working.