The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December.
Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
Hi
Could someone tell me how to make the close button enabled using javascript?
thanks a lot
li
Solved! Go to Solution.
Try this:
$("#close_button").removeAttr('disabled');
Hi Jeffrey
It does not work for me. Please see the attached.
What is your intended workflow? I'm trying to duplicate the screen that you are on in your first post, but I don't recognize the UI on that screen. It could be due to something I don't normally work with. At first it looks like the Moderate Quiz screen but this is starting to look like something not in the Canvas code base. Maybe an external tool of some sort? Why is that button disabled in the first place?
Can you enlighten us?
Hi Jeffrey,
This is an external tool called Quiz Extensions. It is not from Canvas codes. Sorry I did not make it clear at the beginning.
li
If you have control over the JavaScript in that external tool, then potentially you could use the same expression within that code base provided they use jQuery in their tool. If they don't use jQuery, then this might work:
document.getElementById("close_button").disabled = false;Otherwise you will not likely be able to use the Canvas JS Override file to manipulate DOM elements within the iframe that hosts the external tool content. It constitutes a cross-origin request which is a security issue. Read here:
Hi Jeffery,
The vendor fixed the code for us.
thanks for your help
li
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in