Web applications - problems how begin...
Posted: Sat Dec 01, 2018 10:23 am
Hi,
I have problem with create my first web app, so mainly I do not understand how are transferred variables and values between user HTML page, which show on his monitor, and webserve (created with use x2net)
I am sitting on it several weeks
and still not understand how use getvar, getcargo,setvar,setcargo, when which from its.
One example :
webserve create HTML page and send it to user with HTTPResponse.
user put some values to input fields and click submit button.
how can create some alert windows which tell user "you selected 5.th row " ?
In example from xb2net is Login.htm, where user put own UID, and PWD, , this works.
But when I have HTML code included in function in Xbase++ , i do not know, how do it.
I am confused about it, what is on "server" and what is on "client" side, mainly when value is detected or calculated in some javascript function (also included in some xbase source in HTML block which will send to client side)
I have problem with create my first web app, so mainly I do not understand how are transferred variables and values between user HTML page, which show on his monitor, and webserve (created with use x2net)
I am sitting on it several weeks

One example :
webserve create HTML page and send it to user with HTTPResponse.
user put some values to input fields and click submit button.
how can create some alert windows which tell user "you selected 5.th row " ?
In example from xb2net is Login.htm, where user put own UID, and PWD, , this works.
But when I have HTML code included in function in Xbase++ , i do not know, how do it.
I am confused about it, what is on "server" and what is on "client" side, mainly when value is detected or calculated in some javascript function (also included in some xbase source in HTML block which will send to client side)