changed nest id jquery event and input type to number