[calendar] Replace .attr('value') with .val()

Fixed 'NaN' issue in: 
https://github.com/wet-boew/wet-boew/issues/1476#issuecomment-14777431