[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gb.web webpage, pass javascript value to the class?


Is it possibleto pass a Javascript from a Main.webpage file to the
Main.class?

Or is it possible to get the webpage Javascript info in the class?

I want to do something like this in Main.webpage...
<DOCTYPE html>
<head>
<script>
let sOrigin = location.origin;
</script>
</head>
<%
Init(sOrigin)
%>

Or if that's not possible is it possible to get location.origin in
Main.class?

Thanks
Respects
BruceS

Follow-Ups:
Re: gb.web webpage, pass javascript value to the class?Lee <t.lee.davidson@xxxxxxxxx>