Good evening.
I have a form that has an input that receives a url by ajax.
How can I get this url and fill in another input to view the image?
JS ( here the id of the input that will receive the url ):
$("#thumb").val(json.items[0].volumeInfo.imageLinks.thumbnail);
INPUT 1 ( here the input is filled with the url that I will save ):
<input type="text" id="thumb" value="http://books.google.com/books/content?id=-2DSc30QWpEC&printsec=frontcover&img=1&zoom=5&edge=curl&source=gbs_api" />
INPUT 2 ( Here I would like to show the image and I can not ):
<input type="image" src="" id="thumb2" >
Is it possible?