Hi all,
Javascript says “Object Expected” – but I’ve replaced the line with a straight:
[code]
bodyData = “This is a test”;
And the error then said it was on the preceding line. The next line is different by having:
[code]
bodyData = ‘<CENTER><FORM name=”resultForm” action=”bookappt.php” method=”post”><TABLE width=”85%”>’+chr(13);
And yes – I have
– tried it with and without using the escape character for ” for the double quotes,
– enclosed the whole string with double quotes,
– enclosed the whole string with “bodyData = String(‘…’)
This section starts with:
[code]
switch(type) {
case ‘auto’:
bodyData = ‘<CENTER><FORM name=resultForm action=bookappt.php method=post><TABLE width=85%>’+chr(13);
if it helps…
Really hope someone can point me to my foolish mistake (isn’t it always!)
Cheers,
Jess.