I have tried the following on their own lines and in a line of code
and also the html equivalents
var formLink2 = (location.href);
var re2 = new RegExp(".*RootFolder=");
var re1 = new RegExp("&GroupString.*TRUE");
var myRelatives = formLink2.replace(re2, "");
var myRelatives2 = myRelatives.replace(re1, "");
var infoPathForm = "REDACTED\/_layouts\/FormServer\.aspx\?
document.write('Conflict of Interest Form'.link(infoPathForm)) ;
// here is where I would like the break.
the last browser where document.write served any purpose was Netscape 4.
When outputting to HTML a line break is created either using <br> if you use innerHTML or using the DOM call document.createElement('br');
This topic is now closed. New replies are no longer allowed.