3 Replies Latest reply: Jan 13, 2016 10:53 AM by Matthias Werner RSS

    AJAX JS- getElementByID()

    Robert Mika

      Does anyone know how this function is implemented?

       

      From

       

      JsDoc Reference - Qv.Document

       

      I'm particularity interested how the "back" element is being pointed to the right object

       

       

      function Init()

      {

        var mydoc = Qv.GetCurrentDocument();

       

        document.getElementById("back").onclick = function() { myDoc.Back(); };

      }

       

      Gysbert Wassenaar


      swuehl


      Thank you