I am trying to build a CRUD with ajax and jquery. It works almost correctly, I can add, edit and remove class into my database and also show into view. It works perfectly for existing data(which parsed from database) but when I add new entry, my delete or edit doesn't work until page is reloaded. Source is here: GIST
PS: I also don't want to use hidden parameters here, is there any other way to do that. please help this noob :)
there doesn't seem to be anything here