KoolAutoComplete is very flexible in changing appearance look with styleFolder settings.
<?php
require $KoolControlsFolder."/KoolAutoComplete/koolautocomplete.php";
$kac = new KoolAutoComplete("kac");
$kac->scriptFolder = $KoolControlsFolder."/KoolAutoComplete";
$kac->width = "160px";
$kac->attachTo = "txtRegion";
$result = mysqli_query($db_con, "select CountryName from kcb_tbcountries");
while($row = mysqli_fetch_assoc($result))
{
$kac->addItem($row["CountryName"]);
}
$style_select = "default";
if(isset($_POST["style_select"]))
{
$style_select = $_POST["style_select"];
}
$kac->styleFolder=$style_select;
?>
<form id="form1" method="post">
<div style="float:left;width:300px;margin-bottom:30px;">
<input type="text" id="txtRegion" autocomplete='off' />
<?php echo $kac->Render();?>
</div>
Select style:
<select id="style_select" name="style_select" onchange="submit();">
<option value="default" <?php if ($style_select=="default") echo "selected" ?> >Default</option>
<option value="hay" <?php if ($style_select=="hay") echo "selected" ?> >Hay</option>
<option value="silver" <?php if ($style_select=="silver") echo "selected" ?> >Silver</option>
<option value="black" <?php if ($style_select=="black") echo "selected" ?> >Black</option>
<option value="inox" <?php if ($style_select=="inox") echo "selected" ?> >Inox</option>
<option value="office2007" <?php if ($style_select=="office2007") echo "selected" ?> >Office2007</option>
<option value="outlook" <?php if ($style_select=="outlook") echo "selected" ?> >Outlook</option>
<option value="vista" <?php if ($style_select=="vista") echo "selected" ?> >Vista</option>
</select>
<br style="clear:both;"/>
</form>