I need to pass the applets browser URL into it. I thought a javascript function would be the way to do it. I have a javascript function that grabs the value that I want. I know this function works because I tested it independently. I want to pass the value that the function returns into the applet param. I have tried the following:

Java Code:
        <APPLET CODE="theJarFile/theClass.class" 
                PARAM name="jscode" value=javascript:getTheValue()
I have tried different variations of the PARAM line. None of them seem to work. How can I do this?