I have a very basic question im trying to pass in a variable to the following selector
var image = $('#'+$ID ul li).find('input').eq(0).val();
but there is an syntax error what do I need to change?
I think you just want this:
$('#' + $ID + ' ul li')...
You forgot to open the string again.
Just in case $ID happens to be a jQuery object:
$('#' + $ID.attr('id') + ' ul li')...
'Wednesday' rather than Wednesday (quotes) and a space before ul, i.e. ' ul...
$('#'+$ID + ' ul li')may be ?