Modify to simple ID in Ajax voting script
Posted: 09 Feb 2016, 15:37
In this script: https://coursesweb.net/php-mysql/voting- ... pt-ajax_s2 , i will try to remove from scripts "vt_" in ID and will make simple id, not be anything worse?
Web Development and Programming Courses
https://coursesweb.net/forum/
Code: Select all
if((obj_div[i].className=='vot_plus' || obj_div[i].className=='vot_updown1' || obj_div[i].className=='vot_updown2') && elm_id.indexOf("vt_")==0) {
Code: Select all
if(obj_div[i].className=='vot_plus' || obj_div[i].className=='vot_updown1' || obj_div[i].className=='vot_updown2') {