alert(parseInt(i)+7);
<form action="index.php" method="post">
<input type="text" name="user_name" />
<input type="submit" value="Отправить" />
<input type="hidden" name="form_id" value="1" />
</form>
<form action="index.php" method="post">
<input type="text" name="user_name" />
<input type="submit" value="Отправить" />
<input type="hidden" name="form_id" value="2" />
</form>
<form action="index.php" method="post">
<input type="text" name="user_name" />
<input type="submit" value="Отправить" />
<input type="hidden" name="form_id" value="3" />
</form>
<?php
$formId = isset( $_POST['form_id'] ) ? $_POST['form_id'] : 1;
// $formId - наш идентификатор формы =)
?>
$('a.target_link').click(function() {
if ( this.href != location.href ) {
if( typeof window.history.pushState != undefined ) {
history.pushState( null, null, this.href );
}
$.ajax({
method : 'get',
url : this.href,
success : function( response ){
$('#content').html( response );
}
});
}
return false;
});
$(document).ready(function(){
if (window.location.hash == '#w100' ) {
$(".contentwidthr").css("width","100% !important");
};
});
<script src="js/file.js?<?=filemtime( 'js/file.js' )?>" />