V
VK
We need to load a document into IFRAME with editing mode being turned
on by default. SRC attribute cannot be hardcoded and it will set on
page load. In the sample it is assumed that some of
preliminary loaded scripts has function getUrlForIframe that takes
string argument with the name of iframe and returns src value for that
iframe.
See: http://www.russiancourses.org/tmp/Option3.html
The sample code seemingly works for a single iframe, but after that no
other script block is being executed. The function is being executed
without runtime errors as window.alert shows, but any other script is
simply disregarded. The most weird behavior - or maybe I am missing
something
obvious. Any feedback is highly appreciated.
on by default. SRC attribute cannot be hardcoded and it will set on
page load. In the sample it is assumed that some of
preliminary loaded scripts has function getUrlForIframe that takes
string argument with the name of iframe and returns src value for that
iframe.
See: http://www.russiancourses.org/tmp/Option3.html
The sample code seemingly works for a single iframe, but after that no
other script block is being executed. The function is being executed
without runtime errors as window.alert shows, but any other script is
simply disregarded. The most weird behavior - or maybe I am missing
something
obvious. Any feedback is highly appreciated.