Joe4628774
Posts: 0
Joined: Tue Jun 19, 2012 9:35 pm

JQuery and dsid syntax to access html objects

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");

Return to “Issues”