var today = new Date()
var happy = {'1/1':'元旦','3/8':'妇女节','5/1':'劳动节','6/1':'儿童节','10/1':'国庆节','12/25':'圣诞节'}
var key = (today.getMonth() + 1) + '/' + today.getDate()
document.write(happy[key]?happy[key]:'今天没节日!')
</script>
var today = new Date()
var happy = {'1/1':'元旦','3/8':'妇女节','5/1':'劳动节','6/1':'儿童节','10/1':'国庆节','12/25':'圣诞节'}
var key = (today.getMonth() + 1) + '/' + today.getDate()
document.write(happy[key]?happy[key]:'今天没节日!')
</script>