<script type="text/javascript"> function show_alert() { alert('警报'); } function show_confirm() { var result = confirm('确认'); alert(result) } // 取消,返回null function show_prompt() { var value = prompt('提词:', '默认输入'); alert(value) } </scrip
1.日期格式化 Letter Date or Time Component Presentation Examples G Era designator Text AD y Year Year 1996; 96 M Month in year Month July; Jul; 07 w Week in year Number 27 W Week in month Number 2 D Day in year Number 189 d Day in month Number 10 F Day of