Running Javascript in JDE

forjoydeep1

Active Member
Hello - I have been trying to run a javascript from a JDE form. This one would basicaly open a windows file open dialog box from where one would eb able to select a file. The code is -
<script>
function openFileOption()
{
document.getElementById("file1").click();
}
</script>

<input type="file" id="file1" style="display:none">
<a href="#" onclick="openFileOption();return;">open File Dialog</a>


Question is how to call this javascript from jde ?

Thanks,
Joydeep
 
Hi, were you able to get this to work? I'm trying to do something very similar and can't seem to figure it out.
 
Back
Top