Ali Sağırvelioğulları Ali Sağırvelioğulları - 6 months ago 3x
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