As of Domino 7.0.2 there is a new field that allows you to set the doctype on a form basis. Just add a computed for display field called $$HTMLFrontMatt er, with a formula as you need...e.g.
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">" + @NewLine
User Profile
Collapse
-
This error can be caused by the interaction of single and double quotes, and by windows line endings confusing heredocs expecting unix endings.
Notepad++ has a feature to change the line endings.
It also colours quoted strings in cream, not white. If your source suddenly starts to has cream background with white to its right, check for a missing, extra or unbalanced " and '.
Hope this helps....Leave a comment:
-
Looking back at the code you posted above,
You are POSTing from the form, and then testing the $_GET variable.
You must either have method=POST and use $_POST or amethod=GET and use the $_GET variable.
Regards
IanLeave a comment:
-
Solved!
I have just got another user at the client site to test the code - it works for him!
So the problem is something to do with the set up on a single machine - and not IE7 at all.
The code in my previous post works in IE7.
Regards
IanLeave a comment:
-
Good idea, but sadly it doesn't work either.
My code is currently
Code:<script type="text/javascript"> function changeChassis() { var t = document.forms[0].chassistype.selectedIndex; var v = document.forms[0].chassistype.options[t].value; var res = 'junk'; if(v == 'DAF LF55 220 4x2 Day cab 3750mm') res = 'DAF LF55 220 4x2 Day Cab 3750mm wheelbase 18 Tonnes G.V.W';
Leave a comment:
-
This only works in IE6 and before.
In Firefox et al, you need
Code:<script> document.getElementById("wow").defaultValue = "This is the coolest site in the world!"; </script>
Does anyone know how to do this for IE7? None of the above methods work on my customer's site (and I...Leave a comment:
No activity results to display
Show More
Leave a comment: