[jQuery] wildcard match question
[jQuery] wildcard match question
i want to "grep" a pattern of DIV id with x_div_ wildcard
ev_enquiry = $('div[@id^=x_div_]');
ev_enquiry.each( function(i) {
altert(this.i);
how can i pass each of DIV id to alert()? as this.i not work..
thanks/Davis.
Topic Participants
ywkyee
ilovejquery