We have to a input type file. We implement a function on it to read file url. FileReadr is a javascript function witch allow us to read image from our computer. See more detail for code.
We have three button Set Text, Set HTML, Set Value. Jquery allow us to play with content, dom, and Attributes. This is very simple example but you can use it in your complex program. take idea from hrer that how to access html , text, and attribute using jquery.