Hello. I'm doing a html editor.
i want a function to the html editor that change the color on the text when I press a button. Example if I write this code in the html editors textbox:
<table><tr><td bgcolor = "abc123">hello</td></tr><table>
And then I press the button would it change the text color like this:
<table><tr><td bgcolor = "abc123">hello</td></tr></table>
What code should I use for that function?
FullBjarne 0 Newbie Poster
selvaganapathy 31 Posting Pro
FullBjarne 0 Newbie Poster
selvaganapathy 31 Posting Pro
FullBjarne 0 Newbie Poster
farooqaaa 48 Enthusiast
selvaganapathy 31 Posting Pro
farooqaaa 48 Enthusiast
selvaganapathy 31 Posting Pro
farooqaaa commented: Thanks man. You solved our problem! - farooqaaa +1
FullBjarne 0 Newbie Poster
FullBjarne 0 Newbie Poster
farooqaaa 48 Enthusiast
Diamonddrake 397 Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.