Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Mac/Apple TextArea Issue


Message #1 by "Amardeep Kanwar" <amardeep@h...> on Thu, 26 Sep 2002 22:03:32
Hi,

I have code like

var oTR = document.selection.createRange();
oTR.text = "<B>" + oTR.text + "</B>";

It gets executed when i click on the bold button, if i have any text 
selected in my textarea. and it adds <B>tags to the front and back of that 
text as you can see.

I am trying to make this thing work on Macintosh/Apple computes, operating 
system i have is OS 9.2 with ie 5.1.1 on it.

Is there a way to do this thing? All the help will be greatly appreciated.

Thanks

Amardeep

  Return to Index