S
Santosh Patel
Guest
With the following in onLoad for the page: if(typeof clearlistAndUpdateField == 'function') { clearlistAndUpdateField(document.theForm, 'a value', 'another value'); } and following script component in the page: script function clearlistAndUpdateField(form, arg2, arg3) { console.log(form); console.log(arg2); console.log(arg3); } /script I get the following result: form action="../servlet/Object" method="post" name="theForm" enctype="multipart/form-data" onsubmit="rbf_disableAllButtons()" … /form a value another value The onLoad text (object definition page definition properties) area shown can contain arbitrary javascript content. There is really no restriction on the arguments for an onLoad function. Where do you get values for your arg2 and arg3?
Continue reading...
Continue reading...