I'm using the same button twice on one page, but this click function is only working for one of them:
<script type="text/javascript">
$('#back_button').click(function(){
window.location.replace('__mem_url__');
});
</script>
Here's the button:
<input type="submit" id="back_button" value="Back to Memberships" name="adm_mlevels_update" class="form_input_submit">