snipt

Ctrl+h for KB shortcuts

JavaScript

Upload and Write Other Document - Javascript

document.write('<IMG SRC="'{uploadImage} + image_filename + '">')
https://snipt.net/embed/83bc71cb1536ca920fa1df7169cc94a3/
https://snipt.net/raw/83bc71cb1536ca920fa1df7169cc94a3/
83bc71cb1536ca920fa1df7169cc94a3
js
JavaScript
1
2016-08-26T04:50:14
True
False
False
Mar 23, 2016 at 12:23 PM
/api/public/snipt/144905/
upload-and-write-other-document-javascript
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a><span class="nb">document</span><span class="p">.</span><span class="nx">write</span><span class="p">(</span><span class="s1">&#39;&lt;IMG SRC=&quot;&#39;</span><span class="p">{</span><span class="nx">uploadImage</span><span class="p">}</span> <span class="o">+</span> <span class="nx">image_filename</span> <span class="o">+</span> <span class="s1">&#39;&quot;&gt;&#39;</span><span class="p">)</span> </span></pre></div> </td></tr></table>
"upload and write", javascript, js
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.