Jherek Carnelian Jherek Carnelian - 1 year ago 79
HTML Question

Deleted Title that must be longer

This question has been deleted.

Answer Source

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