In jhs j7, from jfile, first I selected ~addons/ide/jhs/jd3.ijs .
Second, I clicked on action|run in the menu.
Third, I opened an new tab in the browser and entered
http://127.0.0.1:65001/jd3

Pressing enter, I get the following message in the browser window.

J D3 error - ajax failed: bad argument


In jd3.ijs I see the following function ajax(), which seems to have printed
the error message. Any ideas?


function ajax(ts)

{

 if(0!=(ts[0].length)){seterr("ajax failed: "+ts[0]); return;}

 var s= ts[1].split('\n');

 for(var i=0;i<s.length;++i)

 {

  try{eval(s[i]);}catch(e)

  {

   seterr("eval failed:<br>"+s[i]);

  }

 }

 common1();

 plot();

 window.onresize= plot; // now we can resize

}


-- 
(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to