Hi all,
I have the following in my web form
<form name="enrollFor m" method="post" onsubmit="retur n checkForm();" action="enroll. php" id="enrollForm" >
I run some php code inside "enroll.php " and display feedback messages for the user when processing is done.
At the moment the messages are shown as text on a blank screen. I like to display the messages on screen nicely formatted like a proper web page, eg in a box with a colour background and a link back to the previous page.
I have seen on the net some one describing how to use Javascript to build a web page on the fly but when I try it I keep getting the error "Error: member not found" in the code below
[code=html]
<html>
<head>
</head>
<body>
<script>
var body = document.create Element("body") ;
document.body = body;
</script>
</body>
</html>[/code]
Do I need to install some software first? Can someone point me in the right direction?
thanks
Denis
I have the following in my web form
<form name="enrollFor m" method="post" onsubmit="retur n checkForm();" action="enroll. php" id="enrollForm" >
I run some php code inside "enroll.php " and display feedback messages for the user when processing is done.
At the moment the messages are shown as text on a blank screen. I like to display the messages on screen nicely formatted like a proper web page, eg in a box with a colour background and a link back to the previous page.
I have seen on the net some one describing how to use Javascript to build a web page on the fly but when I try it I keep getting the error "Error: member not found" in the code below
[code=html]
<html>
<head>
</head>
<body>
<script>
var body = document.create Element("body") ;
document.body = body;
</script>
</body>
</html>[/code]
Do I need to install some software first? Can someone point me in the right direction?
thanks
Denis
Comment