y que tal algo así?
Disculpa si no entendí bien...
Código Javascript
:
Ver original<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>PushState</title>
<script language="javascript" type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script><!-- Actualizar -->
<script>
$(document).ready(function() {
$(".btn").click(function(){
var ruta = "#"+$(this).attr("value");
alert(ruta);
window.location=ruta;
})
});
</script>
</head>
<body>
<button type="button" id="btn" class="btn" value="page-help.html">Boton</button>
<button type="button" id="btn2" class="btn" value="other.html">Boton2</button>
</body>
</html>