Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

Highlighted

AJAX JS- getElementByID()

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

}

gwassenaar


swuehl


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.

mwerner87
New Contributor

Re: AJAX JS- getElementByID()

Have you find a solution?

I have the same problem.