Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: selection.createRange() and extracting the image object data. PLEASE HELP ME!


Message #1 by george.martinho@e... on Thu, 4 Jul 2002 14:46:52
> I found the answer and thought I might share this with you:
> 
> function divalert()
> {
> var i = document.selection;
> var selcobj = document.selection.createRange().item(i);
> selcobj.setAttribute('align','right');
> }

Thanks George, appreciated.

Chris


  Return to Index