homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

Wysiwyg update input value major problem
can't update input value without resetting undo

10+ Year Member

Msg#: 108 posted 12:57 pm on Aug 13, 2002 (gmt 0)
Whenever I try to update the value of an input field from within a wysiwyg the undo batch resets. Take the code I have pasted below and type a couple of lines, hit return, and type a couple more lines. Try to undo and redo. No problem.. Now try to click into the wysiwyg before undoing. Big Problem! Thanks in advance for any help..

frames.myEditor.document.designMode = "On"

function hello(){
document.getElementById("border2").setAttribute("value", "Please Work");


<input id='border2' value='' size='25'>


brotherhood of LAN

WebmasterWorld Administrator brotherhood_of_lan us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Msg#: 108 posted 7:22 pm on Aug 14, 2002 (gmt 0)

Hello djsambo, welcome to webmasterworld

I've never read into javascript, so I'm not sure what the problem is. Maybe it could spur on others if you mention which WYSIWYG you are using?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved