jquery multiple selector options.
Posted on 2013-10-28
I am trying to get a complex jquery selector statement.
Something along this lines
($('input').attr('id', data.field) );
the selector that I need is :
the input field on my page. whose attribute ID matched the variable in data.field
but I need as output the value of the attribute 'value' of that specific input field.
how do I combine that together?