。 The series API knows that the IE10 preview is not yet supported, and the latest version of Firefox/safari/chrome/opera supports
<! DOCTYPE html>
<meta charset= "Utf-8"/>
<title>0</title>
<body>
<input type= "button" value= "plus 1" onclick= "Add ()"/>
<div id= "Info" style= "border:red 1px solid;width:200px;padding:10px;" >0</div>
</body>
<script src= "History-0.5.js" ></script>
<script>
var info = document.getElementById (' info ');
var i = 1;
function Add () {
var data = {
PARAM:I,
Func:func
};
info.innerhtml = i;
Document.title = i;
History.push (data);
i++;
}
function func (i) {
info.innerhtml = i;
Document.title = i;
}
</script>
Development should be based on the requirements of the combination of the above forms to be compatible with all browsers, such as Sina Weibo on the combination of the use of the program one, four, five (base.js). Use of Histroy.js is strongly recommended if you use some open source libraries such as Jquery,mootools in your project. Old Dhtmlhistory.js and rsh have not updated the
for a long time.