Hi, I want to run some javascript to initialize my component which is
a YUI richtexteditor.
Can help? This seems to be the wrong way to do it.

Thanks, Philip

class RichEditor
{
  def show = <form method="post" action="#" id="form1">
                <textarea id="editor" name="editor" rows="20"
cols="75">
                </textarea>
    { JsCmds.Run("alert('hi')") }
            </form>
}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to