I am practicing my Apex and some html / javascript but i ended with this error and now I'm stuck.
In a link i have the same code:
<script>
function showmydata(myparam)
{
apex.item( "P3_NOMBRE" ).setValue( myparam );
};
</script>
<a href="#" onclick="showmydata(#ENAME#)">
<img src="#APP_FILES#icon.png" />
</a>
When I click on the big blue arrow, it should display in the first column: “nombre” the content of “ENAME” **apex.item( "P3_NOMBRE" ).setValue( myparam );**
But it shows an error: Uncaught ReferenceError: KING is not defined. Strange that if i click on a record that has a numeric value in ENAME, for instance “21” it works as it should.
Is “ONCLICK” only numeric? and not string?
