I am using php, javascript, postgresql, linux and html as a development tools. While development and testing I found following erros, as the code works well for first time but start appearing this erros on next attampt. Pl. note that I am calling javascripts functions from php routine, on submiting form. The error message is given below.
With thanks !
prashant
http://10.1.1.33/sms/loan/form/frmLoanType.php
Event thread: onload
Error:
name: TypeError
message: Statement on line 1: Expression did not evaluate to a function object: document.frmLoanType.txtLoanCd.focus
Backtrace:
In unknown script
document.frmLoanType.txtLoanCd.focus();
At unknown location
{event handler trampoline}
Event thread: onclick
Error:
name: TypeError
message: Statement on line 76: Expression did not evaluate to a function object: myForm1.txtLoanCd.focus
Backtrace:
Line 76 of inline#3 script in http://10.1.1.33/sms/loan/form/frmLoanType.php
myForm1.txtLoanCd.focus();
Line 246 of inline#3 script in http://10.1.1.33/sms/loan/form/frmLoanType.php
initValue();
In unknown script
return add();
At unknown location
{event handler trampoline}