Hi!
I was playing around with one of my plugins and I added an edit mode.
It worked exactly as it was supposed to, until I tested it in non-IE
browsers. It turns out the culprit is innerHTML.

For example, I used the following to get the content:
var macroContent = placeEdit.innerHTML;
placeEdit is the DIV where the edit table is rendered. This table
includes textareas where you can modify values. In IE, the changes are
picked up, but in other browsers, I only get the original values, no
changes. I did some reading and apparently innerHTML is proprietary M$
stuff and only works so-so elsewhere.

Any suggestions/alternatives as to how I can retrieve the content of
the DIV? And I need the HTML code, so I can do the appropriate
replacements and get the parameters that I need, so textContent (which
also ignores changes) is out.

I uploaded the test version (1).

(1) http://infoboxtables220test.tiddlyspot.com/

w

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to