HTML check on drop-down change

By: Dave j | Asked: 12/23/2024
ForumsCategory: General questionsHTML check on drop-down change
Dave j asked 6 hours ago
Hi, I have this short-code in HTML [frm-stats id=820 type=count 820="[1023]"], I need when changing the value of drop-down id 1023, the HTML gets refreshed.
1 Answers
Victor Font answered 4 hours ago
Shortcodes execute on the server, not in the browser. This means they will only refresh when the form loads ot is refreshed to reload. This does not work for real time calculations that run in the browser. For real time calculations, you must use jQuery or AJAX. To replicate frm-stats, you should use Ajax.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right