[Opa] Dom.put_inside error?

Mads Hartmann Jensen mads379 at gmail.com
Mon Aug 15 17:09:59 EDT 2011


Hi guys,

I haven't been able to use Dom.put_inside() like this

do Dom.put_inside(#status,Dom.of_xhtml(<p>test</p>))

I get the error: 

TypeError: 'null' is not an object (evaluating 'd.toSource') in all.js:693

I simply want to add some xhtml to a div, is there a way to do this w/o using Dom.put_inside?

I'm using Opa compiler (c) MLstate -- version S3.5 -- build 507

Thanks,
Mads


More information about the Opa mailing list