Ask coding questions

← Back to all posts
There's an big error!
RixTheTyrunt

I am making a thing like JSBin ( LOL ) , but it doesn't work! JavaScript can't do:

  • Detect if the variable resultEmbed is "data:text/html;utf-8,null" ( It means nothing in the data URI, except the text: null )
  • Set element's with a ID result attribute src to the variable resultEmbed
Voters
RixTheTyrunt
Comments
hotnewtop
ch1ck3n

instead of <embed src="/no-content.html" id="result"></embed> use an iframe

RixTheTyrunt

Why?

ch1ck3n

@RixTheTyrunt just do it

RixTheTyrunt

Wait, nobody understands me?

ch1ck3n

@RixTheTyrunt don't expect every single question you ask to be answered

RixTheTyrunt

OK