Why this does not work in Mozilla?

<input type="button" name="cancel" value="Cancel" class="button"
onClick="location.href('page.php?m=per');">