AnsweredAssumed Answered

JS Dojo.create help

Question asked by mcsuran2332 on Jun 12, 2014
Latest reply on Jun 16, 2014 by mcsuran2332
Hey everyone,
I am trying to incorporate the
dojo.create("a", { href: "foo.html", title: "Goto FOO!", innerHTML: "link" }, dojo.body());

with my code
dojo.create("img", {"class":"", "src": "images/test.jpg"}, 'legendPanel',"last");

to make my image clickable that references a specific url.  Does anyone know how to do this?  Or if there is a better approach using a different method?  Thanks!