I can't help with the cold fusion question, but I see your Javascript problem. You're referring to the wrong names in your checks. For example you refer to "form.fullname". But form.fullname doesn't exist. You're confusing the cfm field names with the form names. In this case you...
Javascript to refresh after 5 secs:
<script language=Javascript>
setTimeout("self.location.reload()", 5000);
</script>
HTML to do the same thing:
<meta http-equiv="Refresh" content="5;URL=thispage.htm">
I doubt that you'll want to refresh while a user is working...
Put it into a package (separate file with .pm suffix).
Then "use" the package wherever you need it.
-- foo.pm
package foo;
sub doSomething {
print "Hello";
}
-- elsewhere --
use foo;
foo->doSomething;
-- see PerlToot for more info on packaging and objects
This code sample does what you want:
<IFRAME ID="OpenCases" src=""></IFRAME>
<script language="Javascript">
function onload () {
var oFrame = document.all.OpenCases;
oFrame.width = oFrame.offsetParent.offsetWidth;
oFrame.height =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.