jquery - filter by letter in datatables not working -


i using datatables show pricelist, filter prices letter. problem have when click on letter shud pass proccesing file(bronze.fnreloadajax) not. instead records because href empty

$(".whitelinks a").click(function(event) {    event.preventdefault();   $("a").removeclass("active");   $(this).addclass("active");  link = $(this).attr("href");  href = link.substring(1);   bronze.fnreloadajax('price_list/plan_bronze.php?selection='+href);  }); 

if link single letter, href = link.substring(1) removes first letter of link. means blank.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -