469,632 Members | 1,681 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,632 developers. It's quick & easy.

How to unbold the text in textarea using javascript in ASP.net

hi ,
i m building a texteditor using javascript whose functions like MS Front Page.so ,how i can give the effect bold,underline,italic using javascript on button click& if i press again button(ex.bold)then selected text must be as remain as it prevoius.plz help me if anybody know its answers.
Jan 28 '08 #1
2 3215
acoder
16,027 Expert Mod 8TB
Welcome to TSDN!

You posted this in the Articles/Howto section. I've moved it across to the forum for you.

Have a look at execCommand for your problem.
Jan 28 '08 #2
acoder
16,027 Expert Mod 8TB
Please don't use the report button to reply.

Just check the source code for the test page. Let me know if you hit any problems.
Jan 28 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by lawrence | last post: by
19 posts views Thread by dmiller23462 | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.