When i use
alert(j(this).attr("id"));
I can see the pop up window shows up _denominations[3].id.denominationId
but when i call
alert(j('#_denominations[3].id.denominationId').attr("id"));
The pop up window shows me 'undefined'
, the actual html DOM is looks like this:
<div class="form-field">
<select id="_denominations[3].id.denominationId" class="removableDenom" name="denominations[3].id.denominationId">
</div>
So what chance could possibly make undefined
pop up happens