Jherek Carnelian Jherek Carnelian - 7 months ago 10
HTML Question

Deleted Title that must be longer

This question has been deleted.

Answer

on() accepts the event name as the first argument.

As there is no event called #rate, the following will not work.

$(document).on('#rate', function() {

Use

$(document).on('keyup', '#rate', function() {
               ^^^^^^^                         : Event name here