I am working on html5 app development using Jquery n css. i am creating a image under a div tag as shown below
<div id="FrontRight">
<img id="imgFrontRight" src="../images/car.jpg">
</div>
Now i want this image -imgFrontRight to be draggable with the following attributes
$( "#imgFrontLeft" ). draggable
({
axis: "y" ,
containment:[0,152,0,290] });
I have achieved this when the image is dynamically created in my jquery javascript file. However i want the same thing to happen when img tag is used to create a image in a html file.
Kindly help with this. Thanku !!