Please help me to change this textbox to dropdownlist

Please help me to change this textbox to dropdownlist

Hello Everyone,

Please help me to change the textbox to dropdownlist with the option: (Condominium, Condotel, Condormitel, House and Lot)

Thank you very, very, very much!!!!!!................

       
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <title>Properties</title>
  6. <style>
  7. body {
  8. background:#fff;
  9. color:#000;
  10. font:75%/1.5em Arial, Helvetica, "DejaVu Sans", "Liberation sans", "Bitstream Vera Sans", sans-serif;
  11. }
  12. #wrap {
  13. width: 610px;
  14. position: relative;
  15. left: 50%;
  16. margin-left: -600px;
  17. }
  18. #header {
  19. position:relative;
  20. line-height:1em;
  21. }
  22. input {
  23. border:1px solid #ccc;
  24. border-bottom-color:#eee;
  25. border-right-color:#eee;
  26. box-sizing:border-box;
  27. -moz-box-sizing:border-box;
  28. -webkit-box-sizing:border-box;
  29. -ms-box-sizing:border-box;
  30. font-size:1em;
  31. height:2.25em;
  32. *height:1.5em;
  33. line-height:1.5em;
  34. padding:0.29em 0;
  35. width:100%;
  36. margin:0 0 0.75em;
  37. }
  38. .filterform {
  39. width:220px;
  40. font-size:12px;
  41. display:block;
  42. }
  43. .filterform input {
  44. -moz-border-radius:5px;
  45. border-radius:5px;
  46. -webkit-border-radius:5px;
  47. }
  48. .entry {
  49. margin: 0 0 0 0;
  50. padding: 3px 0;
  51. border-top: solid thin #666;
  52. border-bottom: solid thin #222;
  53. height:190px;
  54. overflow: hidden;
  55. text-overflow: ellipsis;
  56. }
  57. .movieTitle {
  58. font-size:14px;
  59. color:black;
  60. font-weight: bold;
  61. margin-bottom: 1px;
  62. color:#000;
  63. }
  64. .field {
  65. font-weight:bold;
  66. color:#777;
  67. }
  68. .info {
  69. color:#000;
  70. }
  71. </style>
  72. <script src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
  73. <script>
  74. (function ($) {
  75. jQuery.expr[':'].Contains = function (a, i, m) {
  76. return(a.textContent || a.innerText || "").toUpperCase().indexOf(m[3].toUpperCase()) >= 0;
  77. };
  78. function listFilter(header, list) {
  79. var form = $("<form>").attr({
  80. "class": "filterform",
  81. "action": "#"
  82. }),
  83. input = $("<input>").attr({
  84. "class": "filterinput",
  85. "type": "text"
  86. });
  87. $(form).append(input).appendTo(header);
  88. $(input).change(function () {
  89. var filter = $(this).val();
  90. if(filter) {
  91. $(list).find(".movieTitle:not(:Contains(" + filter + "))").parent().slideUp();
  92. $(list).find(".movieTitle:Contains(" + filter + ")").parent().slideDown();
  93. } else {
  94. $(list).find(".entry").slideDown();
  95. }
  96. return false;
  97. }).keyup(function () {
  98. $(this).change();
  99. });
  100. }
  101. $(function () {
  102. listFilter($("#header"), $("#list"));
  103. });
  104. }(jQuery));
  105. </script>
  106. </head>
  107. <body>
  108. <div id="wrap">
  109. <h1 id="header">Search for Properties</h1>
  110. <div id="list">
  111. <div class="entry">
  112. <img src="http://static.wix.com/media/33d072_2cd7b9254b192ba7f1d9348b926b5765.png_srz_230_170_75_22_0.50_1.20_0.00_png_srz"
  113. alt="Hotel 101" width="150" height="100">
  114. <img src="http://static.wix.com/media/33d072_cbb7832d5fbeda99fd2049dfe0a1a5c0.png_srz_230_170_75_22_0.50_1.20_0.00_png_srz"
  115. alt="Hotel 101" width="150" height="100">
  116. <img src="http://static.wix.com/media/33d072_d1c463d343e8b990ddc5316b89fa5000.png_srz_215_170_75_22_0.50_1.20_0.00_png_srz"
  117. alt="Hotel 101" width="150" height="100">
  118. <img src="http://static.wix.com/media/33d072_4400f7d68f4e63c40cae5f7fb0153820.png_srz_230_165_75_22_0.50_1.20_0.00_png_srz"
  119. alt="Hotel 101" width="150" height="100">
  120. <div class="info"> <b><font size = 4> Hotel 101</font></b>
  121. </div>
  122. <div class="movieTitle"><span class="field">Property Type:</span>Condotel</div>
  123. <div class="info"><span class="field">Price:</span> 3,188,000 Php</div>
  124. <div class="info"><span class="field">Location:</span>EDSA Extension corner Macapagal Boulevard,
  125. Pasay City, Metro Manila</div>
  126. <div class="info"><span class="field">Developer:</span> Hotel 101 Manila</div>
  127. </div>
  128. <div class="entry">
  129. <img src="http://static.wix.com/media/33d072_b57abfc25faf8042f02245701bdfd443.jpg_srz_215_155_75_22_0.50_1.20_0.00_jpg_srz"
  130. alt="Laureano di Trevi" width="150" height="100">
  131. <img src="http://static.wix.com/media/33d072_cdc132a8e56f245126ae4f50c9a2309d.jpg_srz_225_165_75_22_0.50_1.20_0.00_jpg_srz"
  132. alt="Laureano di Trevi" width="150" height="100">
  133. <img src="http://static.wix.com/media/33d072_e998fd67369ae1f408c78c487f0072de.jpg_srz_210_170_75_22_0.50_1.20_0.00_jpg_srz"
  134. alt="Laureano di Trevi" width="150" height="100">
  135. <img src="http://static.wix.com/media/33d072_19ea7b39657812b316a0e2b88d818b07.jpg_srz_225_165_75_22_0.50_1.20_0.00_jpg_srz"
  136. alt="Laureano di Trevi" width="150" height="100">
  137. <div class="info"> <b><font size = 4>Laureano di Trevi</font></b>
  138. </div>
  139. <div class="movieTitle"><span class="field">Property Type:</span>Condominium</div>
  140. <div class="info"><span class="field">Price:</span> 2,531,990 Php</div>
  141. <div class="info"><span class="field">Location:</span>2216 Calle Estacion, Chino Roces Ave.,
  142. Makati City, Metro Manila</div>
  143. <div class="info"><span class="field">Developer:</span> Vistaland and Lifescapes, Inc.</div>
  144. </div>
  145. <div class="entry">
  146. <img src="http://static.wix.com/media/33d072_3fa74890c7d330189d99ab80124a9537.jpg_srz_175_165_75_22_0.50_1.20_0.00_jpg_srz"
  147. alt="Space Manila" width="150" height="100">
  148. <img src="http://static.wix.com/media/33d072_d9899a2de72ee98ce9a273f43315ed84.jpg_srz_225_163_75_22_0.50_1.20_0.00_jpg_srz"
  149. alt="Space Manila" width="150" height="100">
  150. <img src="http://static.wix.com/media/33d072_13ef7990f6c3e854811f84294d689fc9.jpg_srz_210_165_75_22_0.50_1.20_0.00_jpg_srz"
  151. alt="Space Manila" width="150" height="100">
  152. <img src="http://static.wix.com/media/33d072_5cd998c47c2cdf71c01dddc5749bd818.jpg_srz_225_163_75_22_0.50_1.20_0.00_jpg_srz"
  153. alt="Space Manila" width="150" height="100">
  154. <div class="info"> <b><font size = 4>Space manila</font></b>
  155. </div>
  156. <div class="movieTitle"><span class="field">Property Type:</span>Condormitel</div>
  157. <div class="info"><span class="field">Price:</span> 1,356,000 Php</div>
  158. <div class="info"><span class="field">Location:</span>Near Adamson University, Manila, Metro
  159. Manila</div>
  160. <div class="info"><span class="field">Developer:</span> Major Homes</div>
  161. </div>
  162. </div>
  163. </body>

  164. </html>
[moderator edited]