Ali Sağırvelioğulları Ali Sağırvelioğulları - 1 year ago 67
Javascript Question

using jquery mask plugin with on() event

Is it possible to use mask function with "on()" event?

my jquery code for masking:

$("#ktel,#kmob").mask("(999) 999-9999");

what i need is something like this:

$("#ktel,#kmob").on("mask","(999) 999-9999");

function bindMask(c){
  $(c).mask("(999) 999-9999");

It is impossible , you should call bind action every time