mardi 26 janvier 2016

Chrome in Android gone refreshing the page it self when i did selected an option

i'm new in programming. i have created a simple page, simply the page we can call as a form who has One Option Value, Three textbox, and 2 button(submit and back). when i filled the page with Chrome Browser i got no problem.

but when i tried in chrome on my android phones i got some problem, here is the problem : first, i do select an option then when i want to fill the first textbox of the form the page has reload itself just like refreshing the page.

here is my code

<h1>Validate Confirm Payment</h1>   
<form action="<?php echo base_url(); ?>admin/payment/paidConfirm/<?php echo $order->id_order; ?>" name="form1" method="post">
    <table class="table table-striped">
        <tr>
            <td>Transfer To</td>
            <td>:</td>
            <td>
                <select name="transfer_to" class="form-control" style="z-index:9999;">
                    <option value="0">--Select Name Bank--</option>
                    <option value="mandiri">Mandiri</option>
                    <option value="bca">BCA</option>
                    <option value="bri">BRI</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>Bank Account Name</td>
            <td>:</td>
            <td><input type="text"  name="bank_account_name" style="z-index:9999;" class="form-control"></td>
        </tr>
        <tr>
            <td>Bank Account Number</td>
            <td>:</td>
            <td><input type="text" name="bank_account_number" style="z-index:9999;" class="form-control"></td>
        </tr>
        <tr>
            <td>Transfer Ammount</td>
            <td>:</td>
            <td><input type="text" name="transfer_amount" style="z-index:9999;" class="form-control"></td>
        </tr>
        <tr>
            <td colspan="3">
                <input type="hidden" name="id_order" value="<?php echo $order->id_order; ?>">
                <input type="hidden" name="status_confirm" value="1">
                <input type="submit" name="submit" class="btn btn-success" value="Submit">
                <a href="<?php echo base_url(); ?>admin/payment/index">Back</a>
            </td>
        </tr>
    </table>
</form>

i dont really know what is wrong with my code or some methode that i dont know. any help will be appreciated.




Aucun commentaire:

Enregistrer un commentaire