pass parameter in jsp fails

I need to pass a parameter in javascript function so I do this:

<af:textBox name="date" id="date" type="date"
                    value="<%=startDate%>" 
                    title="" onKeyUp="fieldChanged()"
                    
                    onChange="load('cod','<%=startDate%>'))
                />

The method javascript is this:

function ricaricaDescrizione908(idComponente,value_pass) {
        console.log("Value "+value_pass);
     
     
        }

The problem is the console.log is never called when onchange is called.
In my console there are some erors. Anyone can help me?