Line 21: | Line 21: | ||
function jump(h){ | function jump(h){ | ||
+ | alert(); | ||
var url = location.href; //Save down the URL without hash. | var url = location.href; //Save down the URL without hash. | ||
location.href = "#"+h; //Go to the target element. | location.href = "#"+h; //Go to the target element. |
Revision as of 20:52, 26 September 2016