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

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -