How store user input from HTML/Javascript to variable
Posted: Thu Nov 08, 2018 5:11 am
Hi,
I do not know many things
but now I need know, how store user input, for example from form to variable and use it in other place in Xbase++ source.
I am using example from xb2net, and if run Login.htm, there write user name,and password, this I know how use later.
But when I include script in htm, how is syntax to store it to variabe which program can view ?
example
I need store it to local or public variable, when user select row from table.
Or better say, I need create table browser, and when user select row from it, store selected row data to variable and use it in other process.
Note : I want create webserve, running on some computer and users access from internet browser., so this look very difficult to create some working app...
I have headache from studying HTML, Javascript and including it to Xbase++ application.
I do not know many things

I am using example from xb2net, and if run Login.htm, there write user name,and password, this I know how use later.
But when I include script in htm, how is syntax to store it to variabe which program can view ?
example
Code: Select all
<script type="text/javascript">
function myFunction(x) {
px=x.rowIndex-1;
px2="000000";
alert("Klikol si na riadok : "+
px+", CISKU="+px2);
}
</script>
Or better say, I need create table browser, and when user select row from it, store selected row data to variable and use it in other process.
Note : I want create webserve, running on some computer and users access from internet browser., so this look very difficult to create some working app...

I have headache from studying HTML, Javascript and including it to Xbase++ application.