• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

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
 

sunny1

Member
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.
 
Top