Error in wtRemoteProcedureCall constructor
Status: Alpha
Brought to you by:
francium
calling the constructor for wtRemoteProcedureCall in the following line:
var acctRPC = wtRemoteProcedureCall("data_fetch.php", "main", "acc");
creates the error:
this.startProxy is not a function
wtRemoteProcedureCall("data_fetch.php", "main", "acc")wt_core.js (line 790)
draw_accts()test.js (line 3)
init()test.js (line 67)
onload(load )test.php (line 1)
[Break on this error] this.startProxy(this);
Devan
Logged In: NO
User error please close
var acctRPC = wtRemoteProcedureCall("data_fetch.php", "main", "acc");
should be
var acctRPC = new wtRemoteProcedureCall("data_fetch.php", "main", "acc");