Trước tiên là cách lấy giá trị của jQuery,
hàm $(this).val() chỉ lấy giá trị của input trong form, còn nếu là div/class thông thường thì phải lấy giá trị qua $(this).html()
clean-blogging
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/blog/wp-includes/functions.php on line 6121On simple things
Trước tiên là cách lấy giá trị của jQuery,
hàm $(this).val() chỉ lấy giá trị của input trong form, còn nếu là div/class thông thường thì phải lấy giá trị qua $(this).html()