A Qcodo based CMS/ecommerce framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
611 B

12 years ago
  1. function __calendar(strFormId, strId) {
  2. popCal = window.open(qc.phpAssets + "/_core/calendar.php?strFormId=" + strFormId + "&strId=" + strId + "&intTimestamp=" + document.forms[strFormId].elements[strId + "_intTimestamp"].value, "popCal", "width=165,height=228,left=200,top=250");
  3. if (window.focus)
  4. popCal.focus();
  5. };
  6. function __resetCalendar(strFormId, strId) {
  7. document.forms[strFormId].elements[strId + "_intTimestamp"].value = "";
  8. document.forms[strFormId].elements[strId].value = "";
  9. if (document.forms[strFormId].elements[strId].onchange)
  10. document.forms[strFormId].elements[strId].onchange();
  11. };