historial

    0

    0

    ismael zian

    historial

    Shortcut: historial

      <button onclick='historial()'>HISTORIAL</button>// en el...
      <button onclick='borrarHistorial()'>BORRAR HISTORIAL</button>//...html
    
    function historial() {//abre el historial
      ohistorial = window.open('historial.html', 'historial', 'width=' + anchura + ',height=' + (altura*2) + ',left=' + anchura + ',top=' + 0);
    }
    
    function borrarHistorial() {  //borra el historial
      localStorage.setItem('historial', "")
      ohistorial.close()//lo cierra
      historial()// y lo vuelve a abrir
    
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.