Why is my jquery input mask not working?

前端 未结 3 1705
失恋的感觉
失恋的感觉 2021-01-22 19:56

I am trying to use the jQuery input mask plug-in (jquery.maskedinput-1.3.min.js), and I have searched for several examples/solutions, and my code is exactly as other working exa

3条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-22 20:39

    Spaces are not valid in ID attributes. You should change your id to $("#POIName") and update your html as well.

    Jquery-ids-with-spaces is a similar question that you may find intersting.

提交回复
热议问题