Thursday, May 21, 2015

Hotel page easy district select html code



Paste this code in console in your browser to take effect & its only for west Bengal dist. Code Given Below

var freshTechBloggers = {};
freshTechBloggers.someThingIsWrong = 'Fresh Tech Bloggers';
var checkOwnerInfo = freshTechBloggers.someThingIsWrong;
if (checkOwnerInfo == freshTechBloggers.someThingIsWrong)
{
    if (freshTechBloggers.someThingIsWrong == 'Fresh Tech Bloggers')
  {
      var freshtechbloggers = {};
    freshtechbloggers.table =  document.querySelector('#p_of_stay');
    freshtechbloggers.table.innerHTML = '<tr>'
        + '<td colspan="4">'
            + '<table id="p_of_stay" class="pageTable">'
                + '<tbody>'
                    + '<tr>'
                    + '<th height="27" width="150">Place/Name of Hotel <font color="red">*</font></th>'
                    + '<th>Address of Place/Hotel <font color="red">*</font></th>'
                    + '<th>State <font color="red">*</font></th>'
                    + '<th width="180">District <font color="red">*</font></th>'
                    + '<th>Email</th>'
                    + '<th>Telephone No. <font color="red">*</font></th>'
                    + '</tr>'
                    + '<tr id="POS1" valign="top">'
                    + '<td>'
                    + '<input name="place_of_stay1" class="textBoxDashed" id="place_of_stay1" value="" size="25" maxlength="30" onkeyup="chkAlphaNumSp(this)" onblur="trim1(this)" type="text" /> </td> <td> <input name="pos_address1" class="textBoxDashed" id="pos_address1" value="" size="40" maxlength="50" onkeyup="chkAddress(this)" onblur="trim1(this)" type="text" />'
                    + '</td>'
                    + '<td>'
                    + '<select name="pos_state_id1" class="combo2" id="pos_state_id1">'
                    + '<option value="">Select One......</option>'
                    + '<option value="34">CHANDIGARH</option>'
                    + '<option value="1">ANDAMAN AND NICOBAR ISLANDS</option>'
                    + '<option value="2">ANDHRA PRADESH</option>'
                    + '<option value="3">ARUNACHAL PRADESH</option>'
                    + '<option value="4">ASSAM</option>'
                    + '<option value="5">BIHAR</option>'
                    + '<option value="6">CHHATTISGARH</option>'
                    + '<option value="7">DAMAN AND DIU</option>'
                    + '<option value="8">DELHI</option>'
                    + '<option value="9">GOA</option>'
                    + '<option value="10">GUJARAT</option>'
                    + '<option value="11">HARYANA</option>'
                    + '<option value="12">HIMACHAL PRADESH</option>'
                    + '<option value="13">JAMMU AND KASHMIR</option>'
                    + '<option value="14">JHARKHAND</option>'
                    + '<option value="15">KARNATAKA</option>'
                    + '<option value="16">KERALA</option>'
                    + '<option value="17">MADHYA PRADESH</option>'
                    + '<option value="18">MAHARASHTRA</option>'
                    + '<option value="19">MANIPUR</option>'
                    + '<option value="20">MEGHALAYA</option>'
                    + '<option value="21">MIZORAM</option>'
                    + '<option value="22">NAGALAND</option>'
                    + '<option value="23">ORISSA</option>'
                    + '<option value="24">PONDICHERRY</option>'
                    + '<option value="25">PUNJAB</option>'
                    + '<option value="26">RAJASTHAN</option>'
                    + '<option value="27">SIKKIM</option>'
                    + '<option value="28">TAMIL NADU</option>'
                    + '<option value="29">TRIPURA</option>'
                    + '<option value="30">UTTAR PRADESH</option>'
                    + '<option value="31">UTTARANKHAND</option>'
                    + '<option value="32" selected="selected">WEST BENGAL</option>'
                    + '<option value="35">DADRA NAGAR HAVELI</option>'
                    + '<option value="36">LAKSHADWEEP</option>'
                    + '<option value="37">TELANGANA</option>'
                    + '</select>'
                    + '</td>'
                    + '<td>'
                    + '<div style="visibility: visible;" id="DIST1">'
                    + '<select name="DIST1" class="combo2">'
                    + '<option value="">Select District</option>'
                    + '<option value="BANKURA">BANKURA</option>'
                    + '<option value="BARDHAMAN">BARDHAMAN</option>'
                    + '<option value="BIRBHUM">BIRBHUM</option>'
                    + '<option value="DARJILING">DARJILING</option>'
                    + '<option value="EAST MIDNAPORE">EAST MIDNAPORE</option>'
                    + '<option value="HAWRAH">HAWRAH</option>'
                    + '<option value="HOOGHLY">HOOGHLY</option>'
                    + '<option value="JALPAIGURI">JALPAIGURI</option>'
                    + '<option value="KOCH BIHAR">KOCH BIHAR</option>'
                    + '<option value="KOLKATA">KOLKATA</option>'
                    + '<option value="MALDA">MALDA</option>'
                    + '<option value="MURSHIDABAD">MURSHIDABAD</option>'
                    + '<option value="NADIA">NADIA</option>'
                    + '<option value="NORTH 24 PARGANAS">NORTH 24 PARGANAS</option>'
                    + '<option value="NORTH DINAJPUR">NORTH DINAJPUR</option>'
                    + '<option value="NOT KNOWN">NOT KNOWN</option>'
                    + '<option value="PURULIYA">PURULIYA</option>'
                    + '<option value="SOUTH 24 PARGANAS">SOUTH 24 PARGANAS</option>'
                    + '<option value="SOUTH DINAJPUR">SOUTH DINAJPUR</option>'
                    + '<option value="WEST MIDNAPORE">WEST MIDNAPORE</option>'
                    + '</select>'
                    + '<input id="state_id1" name="state_id1" value="WEST BENGAL " type="hidden" />'
                    + '<script language="javaScript" type="text/javascript" src="date_diff.js"></script>'
                    + '<link rel="icon" type="image/png" href="images/chakra.png" />'
                    + '<link href="css/Online_regular.css" rel="stylesheet" type="text/css" />'
                    + '</div>'
                    + '</td>'
                    + '<td>'
                    + '<input name="email1" value="" id="email1" class="textBoxDashed_nocase" size="30" maxlength="35" onkeyup="chkEmail(this)" onblur="trim1(this)" type="text" />'
                    + '</td>'
                    + '<td>'
                    + '<input name="pos_phone1" class="textBoxDashed" id="pos_phone1" value="" size="15" maxlength="15" onkeyup="chkPhone(this)" onblur="trim1(this)" type="text" />'
                    + '</td>'
                    + '</tr>'
                + '</tbody>'
            + '</table>'
        + '</td>'
    + '</tr>';
  }
}

Video Tutorial 

1 comment:

  1. vai hotel page er west bangal er code to sobar kase ase but Tripura -r cod ta nai. apnar kase thakle amak diyen. ae at amar number 01723902189

    ReplyDelete