Thanks for the tips.  The editMode wasn't the problem, turns out that
changing the order of things did the trick.  So, given this HTML:

<div id="outerDiv"><span id="innerSpan">Text being changed</span></div>

If I changed the innerHTML of the "innerSpan" before showing the "outerDiv",
I encountered the problem.  When I showed the "outerDiv" first and then
changed the innerHTML of the "innerSpan" it worked in both FF and IE.

In regards to not using globals to persist things, what would you suggest? 
I'm nowhere near a guru - so I'm open to any suggestions.

Thanks.


dave.methvin wrote:
> 
> 
> Doesn't work in IE7 either. Using Fiddler I can see that the ajaxForm is
> working fine and returns the modified data. If you click the edit button a
> second time you see the modified text. I think the problem may be in the
> processEdit(editMode, json) call; see what the value of editMode is inside
> processEdit(). I would find a better way than globals to organize the
> persistent data you need because that won't scale well.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/html%28%29-returns-different-val-in-Firefox-and-IE--tf2740686.html#a7651026
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to