Announcement

Collapse
No announcement yet.

Execute a function javascript en a grid detail

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Execute a function javascript en a grid detail

    Hi, i am testing a form type grid with javacript, but is do not work.
    I have a app master-detail, when i tested javacript in form master it works fine, but when i tested grid datail, it do not works.

    i put this code in JAVACRIPT - FORM - ONLOAD

    function pressenter(e) {
    var keycode;
    if (window.event) {
    keycode = window.event.keyCode; // IE
    }else keycode = e.which; // FF


    if (keycode == 13) {
    document.F1.ved_cntdad.value = 10;
    return false;
    } else return true;
    }

    document.F1.ved_dscnto.onkeypress=pressenter;

    - My question is if Javascript works in mode master - detail?
Working...
X