Support forumCategory: Bugspreselecting shadow error
Abdun Noor Mazumder asked 2 years ago

In my appointment page the shadow isn’t moving & i am not able to select items for service & workers to remove shadow at all.
View this link : http://demo.sitemaz.com/cc/appointment/

3 Answers
Nikola Loncar Staff answered 2 years ago

You have some custom JS script that is converting select fields across your site. That is the reason why you don’t see selection when it’s created. Please turn off that on that page.

Best regards,
Nikola

sitemaz replied 2 years ago

how could i stop that for that individual page !!! i mean how to stop custom JS

Nikola Loncar Staff answered 2 years ago

Hi, depends on how it is added. Do you know a little bit of PHP?

Best regards,
Nikola

sitemaz replied 2 years ago

not so much. Just give me a wordpress page template which will turn off js for that individual page. Thanks

Nikola Loncar Staff answered 2 years ago

Hi, you can’t do that if script is added via backend and register script functions. So in that case you should do something like this:

function ea_scripts_check() {
    if (/* check if it is on current page */) {
        wp_dequeue_script( '' );
    }
}

add_action( 'wp_footer', 'ea_scripts_check', 1);

Best regards,
Nikola

sitemaz replied 2 years ago

where should i insert this nikola ?? BTW i am abdun noor here with this registered id.