$xTxt->setIncludeLabel(false); $xTxt2 = new cHText("id"); $xTxt2->setIncludeLabel(false); $xTxt2->setProperty("size", "10"); $xTxt2->setProperty("maxlength", "12"); $xTxt2->setProperty("class", "requiredfield"); // $xTxt0 = new cHText("id"); $xTxt0->setProperty("disabled", "true"); $xSel1 = new cSelect("iCuenta1", "iCuenta1", TBANCOS_CUENTAS); $xSel2 = new cSelect("iCuenta2", "iCuenta2", TBANCOS_CUENTAS); $xFrm->addHElem(array("", "<div class='title'>IMPORTE :</div>", $xTxt0->getDeMoneda("iMontoOperacion", "", $MontoOperacion))); $xTxt->setDropProperty("disabled"); $xFrm->addHElem(array("<div class='title'>Banco</div>", "<div class='title'>Num. Cheque</div>", "<div class='title'>Monto</div>")); $xTxt2->addEvent("onblur", "jsaGetCheque1"); $xFrm->addHElem(array($xSel1->get(), $xTxt2->getBasic("iNumeroCheque1", 8, "required", "0"), $xTxt->getDeMoneda("iMontoCheque1", "", 0.0))); $xTxt->addEvent("jsActualizarPago", "onblur"); // $xTxt->addEvent("jsActualizarPago", "onchange"); $xTxt2->addEvent("onblur", "jsaGetCheque2"); $xFrm->addHElem(array($xSel2->get(), $xTxt2->getBasic("iNumeroCheque2", 8, "required", "0"), $xTxt->getDeMoneda("iMontoCheque2", "", 0.0))); $xTxt->setProperty("disabled", "true"); $xFrm->addHElem(array("", "<div class='title'>SUMA:</div>", $xTxt->getDeMoneda("iTotal", "", 0))); $xFrm->addHTML("<input type='hidden' id='iRecibo' name='iRecibo' value='{$recibo}' />"); $xFrm->addHTML("<textarea id='avisos' rows='2' cols='52' disabled></textarea>"); echo $xFrm->get(); echo $xP->setBodyEnd(); //=========================== HTML ?> <script type="text/javascript"> function jsActualizarPago(){ var mReady = true;