jQuery事件以寻求更改

I have a date changing script. How can i prevent refreshing the date on page refresh? Since my date is stored in h3 as a simple string. Just in future i need to show specific data corresponding to date. Does Jquery .change() method is used only on input fields? And also is it possible to use AJAX to update some data corresponding to the date stored?

Demo : Jsfiddle

<button id="yesterday">yesterday</button>
<button id="tomorrow">tomorrow</button>

<h3 id="today_date"></h3>
查看全部
weixin_33749242
weixin_33749242
2014/11/05 09:18
  • ajax
  • javascript
  • jquery
  • 点赞
  • 收藏
  • 回答
    私信

2个回复