I am trying to attempt to call back a value from a function, however, the call back is always undefined because the jQuery Date Picker never has a chance to set the var sdat
You aren't setting sdate at all. I think perhaps you meant to do sdate = select_date();?
sdate
sdate = select_date();