[jQuery] wild card $('div[@id^=x_div_]') question

[jQuery] wild card $('div[@id^=x_div_]') question


hello,
i am new from jquery and want search a wildcard DIV id pattern
then with following purpose
x = $('div[@id^=x_div_]');
x.each( function(i) {
alert(this.i);
}
i want to display each of DIV id , how can i pass in that parameter?
Many thanks/Davis.
--
View this message in context: http://www.nabble.com/wild-card-%24%28%27div-%40id%5E%3Dx_div_-%27%29-question-tp21449359s27240p21449359.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.