Page 1 of 1

JQuery and dsid syntax to access html objects

Posted: Tue Jun 19, 2012 9:36 pm
by Joe4628774

Using dsid in javascript, running on PageShow event:
I cannot seem to get dsid syntax working - it is not returning the requested object for any of the lines below. Am I missing something simple?

var image=$('img[dsid="CommentUserImage"]');
var image=$('[dsid="CommentUserImage"]');
var myimage=Tiggr('CommentUserImage');

The only code that seems to work is:
var image = document.getElementById("j_25");