[Developers] mjt onclick bug?

Geoff Smith hotfigs at gmail.com
Tue Jul 24 14:25:08 UTC 2007


Hi!

I'm getting warnings telling me to us mjt.onclick instead of just onclick
because of i.e. compatibility. However, I get an exception when I try to do
so: "missing ) after argument list". It seems that  mjt is not happy when
you use a ${...} structure with mjt.onclick. For example

<a href="javascript:void(0)" mjt.onclick="servicelogin(${o.sid})">${o.title
}</a>
... doesn't work

<a href="javascript:void(0)" mjt.onclick="servicelogin()">${o.title}</a>
... does

Does anyone have any suggestions on how to get round this?

Thanks!

Geoff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20070724/d196dc16/attachment.htm 


More information about the Developers mailing list