Hello Guys,

I now that I can call a function in Body tag, but that's not what i want to do. Im currently working with a RTE editor that just changes the textarea tags when a function is executed. I want to place that function in the very middle of a SELECT CASE condition, as shown:

<? case "rte":?>
            <script type="text/javascript">
        funcionesiniciales = function() {
            var oFCKeditor = new FCKeditor( 'texto' );
            oFCKeditor.BasePath = "jscripts/fckeditor/";
            oFCKeditor.Height = "400";
            oFCKeditor.Width = "400";
    <textarea name="texto" class="input_textarea"></textarea>
So, in case "RTE", the jscript is runned.

Thanx a lot pals!