I have x-editable input for my boot application, which I use to edit usernames. now I need to use jquery.maskedinput.min.js to get the masked format, while iam enters the text box, which is appering when I click on span, as in x-editable. This is my html code example.
<div id="sZip" class="profile-info-value ">
<span class="editable" id="Dob">dob</span>
</div>
and I got x editable by applying a j query like this
$('#zip').editable({
type: 'text',
name: 'zip',
tpl:' <input type="text" id ="zipiddemo" class="form-control input-sm dd" style="padding-right: 24px;">'
});
and it works fine, now I need to make this text box oily, but when I call a masked input function like this
$(".dd").mask("99999-?9999");
it does not work, I do not know the exact reason. Any help would be appreciated