This really helped out ...some... I can now get it to work via IE but even with the code change ff doesn't like it. Also I can not get the edits to STAY...i can click on the cell and change the data but then how do I save the edit? it does not actually change the data to the new inputted data.
Example: r1c2 if I click on it it gives me the cell area to change the data, then it says to press enter or click...I do both but no change. what am I missing? On Monday, June 25, 2012 12:22:23 PM UTC-5, Eric Shulman wrote: > > > > On Jun 25, 8:23 am, anthony <[email protected]> wrote: > > Just tried your plugin...am I missing something? I loaded the plugin and > > tried your example both on my tiddly and yours and neither were > > editable...maybe I am just missing something though. > > The plugin works in IE, but not in FF or other browsers. > > The reason is because IE uses a different method of processing > events. In IE, all events are processed by first setting a global > variable "event" and then invoking the appropriate onclick handler to > process the event. However, in other browsers, the event is *passed* > to the handler as a parameter. > > The plugin problem arises due to this line of code: > > cell.onclick = function(){editInPlace(this,event);}; > > In order to make this cross-browser compatible, it should be re- > written as: > > cell.onclick = function(ev){editInPlace(this,ev|event);}; > > This allows non-IE browsers to properly use the passed in event as a > variable named 'ev', while IE continues to fallback to using the > global 'event' variable. > > enjoy, > -e > Eric Shulman > TiddlyTools / ELS Design Studios > > WAS THIS ANSWER HELPFUL? IF SO, PLEASE MAKE A DONATION > http://www.TiddlyTools.com/#Donations > Professional TiddlyWiki Consulting Services... > Analysis, Design, and Custom Solutions: > http://www.TiddlyTools.com/#Contact > > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To view this discussion on the web visit https://groups.google.com/d/msg/tiddlywiki/-/SvC9EePfATYJ. 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/tiddlywiki?hl=en.

