I need to call the java method inside the jquery code. How to do that?
I tried by calling java.type, but it is not working. how to pass browser input to the backend java code give some examples var generate = function () {
var activeTab = $("ul#CronGenTabs li.active a").prop("id");
var results = "";
switch (activeTab) {
case "MinutesTab":
// results = "0 0/" + $("#MinutesInput").val() + " * 1/1 * ? *";
results = Java.type(util.txt.cronGenerator.dailyAtHourAndMinute(MinutesInput))
break;