Numeric or Decimal Value allowed in Column of IG

Numeric or Decimal Value allowed in Column of IG 

1) Execute when Page Loads

numeric values as text input 

$(".numeric_allowed").bind("keypress", function (e) {

    var keyCode = e.which ? e.which : e.keyCode               

    if (!(keyCode >= 48 && keyCode <= 57)) {

      return false;

    }else{

    }

});

Value with Decimal  as text input

$(". numeric_allowed").bind("keypress", function (e) {

    var keyCode = e.which ? e.which : e.keyCode               

    if (!(keyCode >= 48 && keyCode <= 57) && !(keyCode == 46)) {

      return false;

    }else{

    }

});

2) go to Advance (Css Classes) propoerty of page item or column 

CSS Classes= numeric_allowed

Comments

Popular posts from this blog

Telegram Integration with Oracle

The username or password for the connection pool named |apex||, are invalid, expired, or the account is locked

Enabled SQL Developer Web (SDW) & ORDS Database API ORDS 19.4