File: application/views/files/client_n_location.php

Recommend this page to a friend!
  Classes of harold rita  >  PHP Thesis Proposal Hub  >  application/views/files/client_n_location.php  >  Download  
File: application/views/files/client_n_location.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Thesis Proposal Hub
Store and publish research thesis documents
Author: By
Last change:
Date: 2 years ago
Size: 2,419 bytes


Class file image Download
<style type="text/css">
                    display: none;
                    margin: 0;
                    margin-top: -10px;
                    position: absolute;
                #ul-address li{
                    background-color: #000;
                    list-style: none;
                    cursor: pointer;
                #ul-address li:hover{

                    background-color: dodgerblue;
            <div class="row " style="display: block;">
                <div class="col-md-6">

                    <form class="form form-horizontal">
                        <div class="form-group">
                            <label>Client name</label> <input type="text" class="form-control" name="client" id="client" onkeyup="names(;" >
                                <ul class="ul-on-input" id="ul-on-input-client"></ul>

                        <div class="form-group">
                            <label>Client address</label> <input type="text" class="form-control" name="client_address" id="client_address" onkeyup="get_barangay(">
                            <ul id="ul-address"></ul>

                        <div class="form-group">
                            <label>Company name</label> <input type="text" class="form-control" name="client_company" id="client_company" >

                        <div class="form-group">
                            <label></label> <button type="submit" class="btn btn-info">Save</button> <button type="button" class="btn btn-default" onclick="skip_c(">Skip</button>

<script type="text/javascript">
    function skip_c(id) {
        // body...

    function get_barangay(id) {
            // body...
            var data = $('#'+id).val();

    function call_barangay(value) {
        // body...
            var barangay = '<?=site_url('post/showbarangay');?>';
            var html;
                type : 'post',
                dataType: 'json',
                url: barangay,
                data: 'barangay='+value,
                success: function(resp){
                    for (var i = resp.length - 1; i >= 0; i--) {
                        var add = resp[i].brgyDesc;




For more information send a message to info at phpclasses dot org.