how to add javascript code to fix my Multi rating pro problem
-
hi i was giving this code by the developer to fix my problem which the Multi rating pro rating form is not functioning at all when my cUSTOM POST TYPE BUILDER TEMplate is activated
here is the JAVASCRIPTcode that was given to me
jQuery(window).load(function() {
var ratingForms = jQuery(“.rating-form form”);
jQuery.each(ratingForms, function( key, value ) {
var parts = value.id.split(“-“); // e.g. rating-form-2-1-0
var id = parts[2] + “-” + parts[3] + “-” + parts[4];
bindRatingFormEvents(id);
});
});THE DIRECTIONS “add this JavaScript code to run after PTB(POST TYPE BUILDER) is loaded.
I’m a beginner, so i don’t know where to add this code, i know it may be easy, but i haven’t figured it
anybody that can help?
thanks in advance
- The topic ‘how to add javascript code to fix my Multi rating pro problem’ is closed to new replies.