I've tried this, but no luck..
Code: Select all
$(".categoryList").click(function () {
var id = this.attr("id");
alert(id);
});
Moderator: General Moderators
Code: Select all
$(".categoryList").click(function () {
var id = this.attr("id");
alert(id);
});
Code: Select all
$(".categoryList").click(function () {
var id = this.id;
alert(id);
});