Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

116
Views
Get IMask Value

I would like to retrieve the 'value' from the below using JavaScript:

InputMask {el: HTMLMaskElement, masked: MaskedPattern, _listeners: {…}, _value: '', _unmaskedValue: '', …} alignCursor: ƒ () alignCursorFriendly: ƒ () el: HTMLMaskElement {input: input#l3-19_0-Input_Value.form-control.input_js.OSFillParent, _handlers: {…}} masked: MaskedPattern {value: '', lazy: true, placeholderChar: '', mask: 'aaaa0000000', definitions: {…}, …} _changingCursorPos: 11 _listeners: {} _onChange: ƒ () _onDrop: ƒ () _onInput: ƒ () _saveSelection: ƒ () _selection: {start: 11, end: 11} _unmaskedValue: "aaaa1234567" _value: "aaaa1234567" cursorPos: (...) mask: (...) selectionStart: (...) typedValue: (...) unmaskedValue: (...) value: (...) [[Prototype]]: Object

This is the logged value of:

var mask = new IMask(element, maskOptions);

I have tried:

console.log(mask.value) and console.log(mask.unmaskedValue) but neither has worked.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!