How to make text bold,italic and underline using jquery
问题 I have three checkboxes and a textbox now If I write something in textbox and check the bold checkbox the text should appear with bold effect and similarly italic and underline without postback(i.e it should reflect immediately with the selected effect). Here is my code: Bold:<input type="checkbox" value=""/> Italic:<input type="checkbox" value=""/> Underline:<input type="checkbox" value=""/> <input type="text" value=""> 回答1: You can do the following: <form> Bold:<input name="textStyle" type=