<!DOCTYPE html>
<head>
    <!-- Webiste font-size changes when screen size changes. -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <!-- Inlude css file -->
    <link rel="stylesheet" type="text/css" href="bootstrap.css" >
    <link rel="stylesheet" type="text/css" href="style.css" >
    <title>This is Title</title>
</head>
<body>
    <!-- Heading Starts -->
        <h1>This is Heading 1</h1>
        <h2>This is Heading 2</h2>
        <h3>This is Heading 3</h3>
        <h4>This is Heading 4</h4>
        <h5>This is Heading 5</h5>
        <h6>This is Heading 6</h6>
    <!-- Heading Ends -->
    
    <!-- Commonly Used Block Level Elements Starts-->
        <div>
            <p> This is paragraph </p>
            <p> This is paragraph </p>
        </div>
        <!-- Commonly Used Block Level Elements Ends -->
        <!-- Commonly Used Inline Elements Starts -->
        <img src="profile.jpg" alt="Profile Text" />
    <!-- Commonly Used Inline Elements Ends -->
    
    <!-- Include Javascript File -->
    <script src="jquery.js" ></script>
    <script src="bootstrap.js" ></script>
    <script src="script.js" ></script>
</body>


    

.blog-content p { font-size: 18px; }

 

 

 

Address
 

 

 

$(document).ready(function(){
$("#submit").click(function(){
var val = $("#address").val();
alert(val);
});

debugger;
$('.address').select2({
placeholder: "Search for your address",
ajax: {
url: function(params){

if(typeof(params.term) != "undefined"){
return requestUrl + "requests/api?data="+params.term;
} else {
return requestUrl + "requests/api?data= ";
}
// return 'api.php?data='+params.term;
},
dataType: 'json',
success: function(html) {
},
error:function(){
},
processResults: function (data) {
return {
results: $.map(data, function (item) {
return {
text: item.text,
id: item.text
}
})
};
}
}

});
});

 

// var location_place = $("#address").val();

// if(! location_place){

// $("#address").before('

Location Can\'t be Empty!!

');
// setTimeout(function(){
// $("#address").closest('.global_post_box').find('.jk-error-message').hide();
// },3000);
// return;
// }