Here are snippets of code that will allow you to get the user selected value from an HTML page into a JavaScript function. There might be better ways to do this. This worked well for me.
HTML code:
HTML page:
JavaScript function
JavaScript console output
Hello and welcome to my blog. I primarily write about PC games and other tech related topics.
Monday, May 6, 2019
Sunday, May 5, 2019
Running Eclipse 2019-06 M1 version with Java 11
I had trouble getting Eclipse 2019-06 M1 (4.12.0M1) to run using JDK version 11. I had Java 8 installed on my machine, so when Eclipse launched, it was picking up Java 8.
After uninstalling Java 8, Eclipse wouldn't launch because the new JDK wasn't installed.
Adding this to the eclipse.ini file fixed the issue for me -
-vm
D:/java/jdk-11.0.3/bin/javaw.exe
Here is the full eclipse.ini file -
After successfully getting Eclipse to use the new JDK, here is the version information -
After uninstalling Java 8, Eclipse wouldn't launch because the new JDK wasn't installed.
Adding this to the eclipse.ini file fixed the issue for me -
-vm
D:/java/jdk-11.0.3/bin/javaw.exe
Here is the full eclipse.ini file -
After successfully getting Eclipse to use the new JDK, here is the version information -
Eclipse IDE for Enterprise Java Developers.
Version: 2019-06 M1 (4.12.0M1)
Build id: 20190418-1421
OS: Windows 7, v.6.1, x86_64 / win32
Java version: 11.0.3
Subscribe to:
Posts (Atom)