Jump to content


This topic is now archived and is closed to further replies.


htmlfile: Uknown runtime error

Recommended Posts

im getting the following error:

htmlfile: Unknown runtime error

on this code:

[code]function letterhead(mode)
    if (mode=='off')
    html_header = document.getElementById("form_header").innerHTML;
    html_footer = document.getElementById("form_footer").innerHTML;
    document.getElementById("form_header").innerHTML = "<div style=\"height:1.75in; width: 7.5px;\"></div>";
    document.getElementById("form_footer").innerHTML = "<div style=\"height:1in; width: 7.5px;\"></div>";
    document.getElementById("letterheadmode").innerHTML = "<a href=\"#\" onclick=\"letterhead('on')\">Add Letterhead</a>";
    if (mode=='on')
    document.getElementById("form_header").innerHTML = html_header;
    document.getElementById("form_footer").innerHTML = html_footer;    
    document.getElementById("letterheadmode").innerHTML = "<a href=\"#\" onclick=\"letterhead('off')\">Remove Letterhead</a>";


document.getElementById("form_header").innerHTML = "<div style=\"height:1.75in; width: 7.5px;\"></div>";[/code]

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.