Forum Post: RE: Multiple arguments in the onload function of a Page

  • Thread starter Thread starter IramK
  • Start date Start date
Status
Not open for further replies.
I

IramK

Guest
Yes I have tried using curly braces in my if statement but my function still doesn't work. Santosh Patel : The onload function is similar to the function given above and the function declaration is as given below: Onload: if(typeof clearlistAndUpdateField == 'function') { clearlistAndUpdateField(document.theForm, arg2, arg3); } JS Code: script function clearlistAndUpdateField(form, arg2, arg3) { form.arg1 = arg2 + arg3; } /script

Continue reading...
 
Status
Not open for further replies.
Back
Top