Title Attribute on Disabled Elements in Firefox

落爺英雄遲暮 提交于 2019-12-05 16:16:42

There are several validation plugins that are very robust. You can find them in the jQuery plugins area.

Another option for you though which I happen to love and tends to be trending now adays is using the "Tipsy" plugin. You can put little '?' icons to the right of your text fields and people can mouse over them to get a "facebook-like" tool tip. This plugin is very sharp and I highly recommend it.

Good luck!

katzmopolitan

I had a similar problem and I just surrounded the disabled element in another element and interacted with that div, i was using tipTip to show tooltip for disabled checkbox

<div style="cursor: pointer;" class="disabled" title="Do something to make it work" >   
        <input disabled="disabled" type="checkbox">
</div>

I haven't tested whether or not that solves the problem with the missing title, but you could also disable the button(s) using jquery on $(document).ready()

regards, harpax

If that doesn't break your design totally, you can replace your button by a "span", "p",... tag with "My 'useful' text here."

And swap it with the button only when the user makes the correct move.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!