Working with iframes with the moovweb sdk -


i've created project moovweb sdk , have trouble editing content within iframe on 1 of pages. instance, moving div around inside iframe doesn't seem work tritium i'm writing. can tritium make work? domains different fyi.

unfortunately, tritium allows edit attributes of iframe itself, not content within.

this because request content in iframe made after browser constructs dom of main page. tritium can intercept first request main page, not second request content different domain.

i know of 2 workarounds:

  1. add second website moovweb project , able use tritium manipulate content. can point iframe of original page new content.
  2. use javascript/ajax modify iframe's content.

however there implications production domains... i'm afraid may have rushed answer , update after more research.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -