Any idea what is best practice for getting the value out of a form input field (that is second in the markup after it's label)?
I have been able to get the rest of the values fine (SKUs and price) but quantity is tricky.
JSFIDDLE to whole thing: http://jsfiddle.net/hslincoln/7HXBQ/33/
Here is some jQuery that scopes the first tr of the table and then attempts to get into that row and pull out the quantity value:
var BSKfirstQTY = $(BSKfirstrow).find('td.quantity').text('input value');
But as you can see from the fiddle's result pane, it's spewing out [object Object]
.
NOTE: Leaving the .text() empty results in the it picking up the word Qty in the fiddle result pane (which is the label, not the number).
Any help would be hugely appreciated :)