Hacker News new | ask | show | jobs
by jc00ke 4716 days ago
I wonder if a focus/blur combo would trigger the needed event and the value would be set? I need to try it out.
1 comments

If you're using the jQuery Rails validations I believe you'll have to set the input's "changed" data to true before it'll run the validations again. Something like $(".my-input").data("changed", true);

If not, then good luck :D