Thanks EdRobinson for your prompt reply.
It looks simple enough but I cannot get it to work.
I allready have a onload function that I call:
== code snippit ====
<body onLoad="xajax_processForm('Start'); return false;">
var w = window.innerwidth;
var h = window.innerHeight;
<form name="my_form" id="my_form" method="post">
== end code snippet ==
My program is build with the following files from an example that I copied:
- <test1.php> // only html
- <test1.css> // the css
If I add the call to the body tag like this:
<body onLoad="sendWinSize(); xajax_processForm('Start'); return false;">
then both the sendWinSize() and the processForm() function's are not called (I don't see any output anymore...)
Can you please tell me how I can call the "sendWinSize()" function from a php function???