JSFiddle

  • iFrame Test #24 is the latest revision

    No-Library (pure JS), HTML, CSS, JavaScript

    var frame = document.getElementById('myframe').contentDocument;
        frame.open();
        frame.write('<!DOCTYPE html><html><body><input type="button" id="choose_pics" value="Choose"><a href="page2.html">Link</a><h2>My Dojo</h2><img src="https://coderdojo.com/wp-content/themes/coderdojo/images/logo.png" width="169" height="48"/><a href="https://coderdojo.com">Go to the CoderDojo</a></body></html>');
        frame.close();
        
        
    
            $("#myframe ...</!doctype>
  • Ace Editor Bootstrap #5 is the latest revision

    jQuery 2.0.2, HTML, CSS, JavaScript

    var editor = ace.edit("editor");
    editor.setTheme("ace/theme/monokai");
    editor.getSession().setMode("ace/mode/javascript");