Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: open
Using the templates as they are currently set-up causes the body tag <body onLoad="getFrm('log');"> to appear on each page, BUT I need to call different forms on some of the pages.
Is there a way to include the body tag in an editable region so I can change the name of the form that is called from the onLoad function?
I probably have a set of 40 pages each using the same DW template and several of these pages need to call different forms for distinct AJAX applications.
You can make the onload attribute of the body tag editable (even though it's not in an editable region) by putting the cursor in the body tag, and choosing modify/template/make attribute editable.
DW will throw some code into the template, and the result is that when you go into a document based on the template, you can click modify/template properties, and set the appropriate action you want for onload.