I am new to jquery. I designed form field input text with span text.
<div class="input-group" style="width:40%">
<input type="text" name="emial" id= "emial" class="form-control" required="true"/>
<span class="input-group-addon">@gmail.com</span>
</div>
i am trying get the value in jquery
var emial=$("#emial").val();
but i am getting only input text not with @gamil.com