jquery - Issue while deleting any record in Jtable -


deleteaction: url + "?id=" + $("#ddl").val() 

caching deleteurl id not getting updated after change value dropdown (ddl).

any solution ?

append parameter on delete url cache-busting

deleteaction: url + "?id=" + $("#ddl").val() + "&nocache=" + (new date()).gettime() 

the term cache busting.

by way, if have same id being reused, might want have @ backend design. it's not done.


Comments