<div class="content_page">
	<div class="text">
		<div class="container">
			<div class="row abonarenewsletter_vmk">
				<div class="col-md-12 text-center">
					<h2 class="title">Newsletter</h2>
					<p class="continut">Suntem indragostiti de design grafic si stim ca si tie iti place. </br>Nu te chinui sa cauti noutati din domeniu, ci lasa-ne pe noi sa te tinem saptamanal la curent cu ultimele trenduri.</p>
				</div>
				<div class="col-md-4 col-xs-12"> </div>
				<div class="col-md-4 col-xs-12">
					<form id="form1" action="" method="post">
						<input type="text" name="name" placeholder="Nume" /> 
						<input type="email" name="email" placeholder="Adresa de email" /> 
						<input type="submit" value="Aboneaza-ma" />
					</form>
				</div>
				<div class="col-md-4 col-xs-12"> </div>
			</div>
			<div id="divid"></div>
		</div>
	</div>
</div>
<script type="text/javascript">// <![CDATA[
$("#form1").submit(function(e){
    e.preventDefault();
    var self = this;
    $.ajax({
        type: 'post',
        url: 'nl.php',
        data: $(self).serialize(),
        success: function(data) {
        	$("#divid").html(data);
        }
    });
});
// ]]></script>