Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
robert_mika
Master III
Master III

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
Gysbert_Wassenaar

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
robert_mika
Master III
Master III
Author

Thank you Gysbert.

Any clue/idea/advice is much appreciated.

Anonymous
Not applicable

Have you find a solution?

I have the same problem.