response = "<option value=''>-- Select --</option>"; $('#'+id).html(response); } }; </script> </head> <body> <!-- imageresult.php --> <form action="imageresult.php" method='post' name='directimageupload' id='directimageupload'> <table border="0px"> <tr style="font-weight: bold;"> <td>Server: </td> <td colspan="2" class="imp"><?php echo $obj->HostName(); ?> </td> </tr> <tr style="font-weight: bold;"> <td>Dabase Connected: </td> <td colspan="2" class="imp"><?php echo $obj->GetDb(); ?> </td> </tr> <tr> <td>Table: </td> <td> <select name='segment' id='segment' onchange="GetTableFields('dbcolumn',this.value);" errortag='Table'>