Hi, I have problem with my iframe…
Basically I have one form name=’FilterPlgn’ with 1 text area name=’pelanggan’ and 1 submit button name=’filter’.
My iframe src=’invoiceheader.php’ name=’header’ .
This is my code
[CODE]<table width=”100%” border=”0″ cellspacing=”2″>
<tr>
<form name=”FilterPlgn” action=”#”>
<td class=”box”>
<span class=”formlabel”>Nama Pelanggan:</span>
<span class=”formfield”><input type=”text” name=”pelanggan” size=”32″ maxlength=”100″ value=””></span>
<input type=”submit” class=”button” name=”filter” value=”Filter”>
</td>
</form>
<td class=”box” align=”center”>
<input class=”button” name=”refresh” type=”button” value=”Refresh” onClick=”parent.header.document.location.replace(‘invoiceheader.php?action=refresh’);”>
</td>
</tr>
</table>
For REFRESH button i made is work excelent, but i can’t figure out how to pass a [COLOR=Red]PELANGGAN
Btw this is my PHP code in invoiceheader.php
[code=php]if (isset($HTTP_GET_VARS[“pelanggan”])){
$id = $HTTP_GET_VARS[“pelanggan”];
echo $id;
}