Skip to content

document.getElementById(...) is null #2

@mudrd8mz

Description

@mudrd8mz
  1. I have a simple true / false question prepared in the course question bank.
  2. ID number defined for both the category and the question.
  3. New Page resource created in the course.
  4. Attempting to embed the question using the Insert > Embedded question menu.
  5. When I select the category and the question
  6. Nothing happens when I press the "Embed question" button
  7. Browser console reports error: Uncaught TypeError: document.getElementById(...) is null

with the line number indicating the line

const iframeDescription = document.getElementById('id_iframedescription').value;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions