Hello,
Like I said in thread title, need to copy image url onClick using JavaScript and after copying link will be showed in input field.
Copy from:
Copy to:Code:<ul id="image_list"> <li><img src="dir/dir/image1.jpg" /></li> <li><img src="dir/dir/image2.jpg" /></li> <li><img src="dir/dir/image3.jpg" /></li> </ul>
Any help is appreciated. Thanks for your timeCode:<form> <label for="copy_img">Image</label> <input type="text" name="copy_img" id="copy_img" /> </form>



Reply With Quote



Bookmarks