Message from JavaScript discussions

July 2017

— Do you have remote debugging for your device?

— 

I doesnt know how to trick this, i already try to change it based on that id judulharga but nothing changed and resulted in `error null`

— Or is this in your browser?

— In browser, not compiled yet

— document.querySelector('#judulharga').textContent = el.nama;

— No, its resulted as

Uncaught TypeError: Cannot set property 'textContent' of null

— The official guide write it as

  var page = event.target;

and
  } else if (page.id === 'page2') {

    page.querySelector('ons-toolbar .center').innerHTML = page.data.title;

  }

any have idea with it TRGWII ?

Message permanent page

— That's weird...

— Looks like som old IE way of doing it

— Where does the event variable come from?

— Which one? that var page = event.target; ?

— Yeah