入力がぼやけているときにフォーマットマスクを与えるために入力を変更するjQueryを使用するプラグインがありますが、フォームが送信されたときにフォーマットされた値を送信したくありません。
親フォームの送信イベントを傍受し、要素の値を調整してマスクを削除し、プラグインで入力を使用するすべてのフォームに対して定義することなく送信を続行する方法はありますか?
もちろん、他のオプションは、非表示の入力を使用してその中に生の値を保存し、名前のない入力を使用してマスクを表示することですが、可能であれば余分なマークアップを避けたいです (さらに、便利なトリックです!)