Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.


AJAX JS- getElementByID()

Does anyone know how this function is implemented?


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(); };




Thank you

3 Replies
MVP & Luminary
MVP & Luminary

Re: AJAX JS- getElementByID()

As I understand it you make sure yourself that your document has an element with the id "back". But extensions and the javascript api are not something I know much about. I could be wrong.

talk is cheap, supply exceeds demand

Re: AJAX JS- getElementByID()

Thank you Gysbert.

Any clue/idea/advice is much appreciated.

New Contributor

Re: AJAX JS- getElementByID()

Have you find a solution?

I have the same problem.