I finally figured it out!

The problem was in the twFileDemo.html file on line 397:
var textarea = $("<textarea></textarea><br>").css({

That "<br>" messes up jQuery's text() method when inserting text
between the opening and closing <textarea> tags.
Removing that "<br>" solves the problem in IE; "marginTop" does not
actually cause problems.

On May 28, 2:19 am, bougon <[email protected]> wrote:
> wonsungi,
>
> I had a similar error.  The problem was not caused by jQuery itself by
> a bad argument that was passed to jQuery from the twDemo.  For me, it
> was the CSS attribute "marginTop" which is an invalid CSS attribute.
> Changing mine to "margin-top" solved my issues.
>
> Hope this helps,
>
> Dan
>
> On May 6, 7:59 am, wonsungi <[email protected]> wrote:
>
>
>
> > On May 2, 8:48 pm, FND <[email protected]> wrote:
>
> > > > The latest version oftwFiledoes not work well in IE.
>
> > > Can you elaborate?
>
> > Using IE 8.0.7600 andhttp://jquery.tiddlywiki.org/twFileDemo.html
> > results in the following error when the edit button is pressed:
> > [...]
> > Message: Unexpected call to method or property access.
> > Line: 60
> > Char: 2307
> > Code: 0
> > URI: file:///C:/Users/John/Desktop/twFileDemo.html
>
> > The error is located within the jQuery code. I tried replacing with
> > jQuery 1.4.2 with similar results.
>
> > > > However, it seems the jQuery plugin was folded back into the TiddlyWiki
> > > > code <http://trac.tiddlywiki.org/changeset/10178>.
> > > > Does anyone know why?
>
> > > Unfortunately, this was necessary to retain backwards compatibility
> > > without compromising the stand-alone 
> > > plugin:http://trac.tiddlywiki.org/ticket/1113
> > >http://trac.tiddlywiki.org/changeset/10172
>
> > So are both the TiddlyWiki filesystem code andtwFilejQuery plugin
> > being maintained?
> > I assumed the jQuery plugin was abandoned. They are just so different
> > now (and the TiddlyWiki filesystem save() still works in IE.)
>
> > BTW the SPA I am creating is a todo list task manager. It uses an HTML
> > table to store a simple database table.
>
> > John
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "TiddlyWikiDev" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/tiddlywikidev?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en.

Reply via email to