tried getting value of attributes. I can get values of other attributes but not the id. Here is my jquery code. While i can get the value of class, the value of id is either undefined or null.
$(".someClass").click(function(){
var id = $(this).attr("id");
var class = this.className;
alert(title);
alert(class);
});
Thanks