JQuery: Get SRC for each image that has specific atrtibute

Posted by adbox on Stack Overflow See other posts from Stack Overflow or by adbox
Published on 2010-03-12T22:15:59Z Indexed on 2010/03/12 22:27 UTC
Read the original article Hit count: 151

Filed under:

Hey Guys,

I am wokring on a dialog, where in execution I want to round up all items that have a specific attribute and place an attribute value of their's into a comma delited list.

This is as far as I have gotten, which isnt far.

buttons: {       

'Hook': function(){ $('.grid_pic:has(border=3)').(loop through id's, grab src, build variable with srcs comma delimeited)

}

Any ideas?

© Stack Overflow or respective owner

Related posts about jquery-selectors