www.webdeveloper.com
Results 1 to 2 of 2

Thread: tagging a cell id

  1. #1
    Join Date
    May 2005
    Posts
    1

    Question tagging a cell id

    Hi folks,

    I am working on an exam window whereby students must proceed through the exam links in order, and may not return to a previous exam. Is there any way that I can identify the link within a cell, (Cell ID?) and then using javascript or DHTML, 'close' the link once it has been selected once?

    I know that if the page refreshes, the link will once again be 'alive' but since each exam is a popup window, this should not be a problem.

    I have attached the javascript file as it now. This runs within WebCT so some of the links may not make sense but this is why.

    Thanks
    Attached Files Attached Files

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Something like this:
    Code:
    <a id="r1" href="javascript:document.getElementById('r1').firstChild.data='';javascript:openWindow('/SCRIPT/_COURSEID_/scripts/student/serve_new_quiz?ACTION=SHOW_QUIZ2&ARG1=1399971773','reading_quiz_1');">Reading 1</a>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles