Hi! I was wondering if i made something wrong or this dont works in
general. I have a drop down list that "onChange" loads some data an
pops a list of img+text
$('#selectDisplay').change(function(){
.
//LOOP
$("#btnDisplay").append(''+respObj.jsonarray[i]['name']
+'');
.
});
I also have a general even on $(document).ready(function() {
$('.btnDisp').click(function(){
//DO SOMETHING ex.
alert("working");
});
The problem is that on dynamic generated img's (custom btns) the
onClick Alert doesnt work. But it works on static .btnDisp imgs that
loads with the html...
So what can I do for something like this?
Thanks in advance!