Code: Select all
<div id="FormDisplay_Inactive">One moment...</div>This is what the response text is should be generating (inside the "formDisplay" DIV):
Code: Select all
<div id="CustForm_<?php echo $CustomerID; ?>"> <!--Note that the #### is dynamically generated by the PHP-->
<div id="CustForm_header">
<span class="leftLabel"> </span>Status:<br/>
<span class="leftLabel"> </span><input type="checkbox" name="Status[]" id="Status" tabindex="14" value="Active" <?php if($Status_chk){echo $Status_chk;}else{echo 'checked="checked"';} ?>/>
ACTIVE (uncheck to de-activate)
<input name="CustomerID" type="hidden" id="CustomerID" size="5" maxlength="5" readonly="readonly" value="<?php echo $CustomerID; ?>"/>
</div>
<div id="CustForm_body">stuff...
</div>
<div id="CustForm_footer">
</div>
</div> <!--close of the "CustForm_####"Code: Select all
<div id="FormDisplay_Inactive">[color=#FF0000]<div>[/color]<div id="CustForm_1078">
<div id="CustForm_header">
<span class="leftLabel"> </span>Status:<br>
<span class="leftLabel"> </span><input name="Status[]" id="Status" tabindex="14" value="Active" checked="checked" type="checkbox">
ACTIVE (uncheck to de-activate)
[color=#FF0000]</div></div></div>[/color]<input name="CustomerID" id="CustomerID" size="5" maxlength="5" readonly="readonly" value="1078" type="hidden">
<div id="CustForm_body">Thanks!