First I have a row and a submit button on a table like this:
<tr id="date">
<td class="left" valign="top">
<label>Some content: </label>
</td>
<td class="right">
<? if ($akis_kademe == "ekle") { ?>
<input type="submit" name="submit5" class="btn" value="Tarih ekle" />
<? } ?>
</td>
</tr>
And isset method...
if(isset($submit5)){
?>
<tr id="ek_takvim">
<td class="left" valign="top">
</td>
<td class="right">
</td>
</tr>
<? }?>
Jquery function...
$(document).ready(function(){
$("submit5").click(function(){
$(ek_takvim).hide();
});
});
All I wanna do that when I click the button I wanna add isset section on my table and also hide the button at the same time.