Results 1 to 2 of 2

Thread: clickable link within javascript form

  1. #1
    Join Date
    May 2007
    Posts
    35
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default clickable link within javascript form

    Hi everyone,
    I am working with a FAQ javascript form--basically you click on an option on the left side of a table, answers will display on the right. I cannot figure out how to create clickable links within this form in the <option value=""></option> area. I can insert a URL, but the patron will have to paste it the browser. Any ideas. Thanks!


    <form name=faqform>
    <table width="800" height="0" cellpadding="0" align="left">
    <tr>
    <TD width=403 height="0" >
    <tr bgcolor="#cccccc"><td>
    <p>&nbsp;&nbsp;&nbsp;&nbsp;Select a Topic for More Information:</p>
    <ul>
    <select size=15 name=question onchange="javascript:showFAQ(this.form);">


    <option value="Please select one of the topics for additional information.">Access and Connection Issues</option>


    <option value="info">&nbsp;&nbsp;&nbsp;-->&nbsp;&nbsp;Information for Visitors</option>
    <option value="more info">&nbsp;&nbsp;&nbsp;-->&nbsp;&nbsp;Library Services for Persons with Disabilities</option>
    <option value="To use most electronic resources off-campus, you will need to login with your Pioneer Portal ID and Password.
    Please go here to create a Pioneer Portal account.">&nbsp;&nbsp;&nbsp;-->&nbsp;&nbsp;What is a portal account and how do I get one? </option>
    <option value="In order to use library services, you must register for an account. You may use your account to renew, borrow, and request materials.">&nbsp;&nbsp;&nbsp;-->&nbsp;&nbsp;What is a library account and how can I get one?</option>
    </select>
    </ul>
    </td>
    <td width="389">
    <p>
    &nbsp;&nbsp;&nbsp;Info Will Display Here:

    <ul>
    <textarea name="answer" rows=15 cols=55 wrap=virtual></textarea>
    </ul></td>
    </tr>
    </table>
    </form>

  2. #2
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jianxin9 View Post
    I cannot figure out how to create clickable links within this form in the <option value=""></option> area.
    It's impossible: the contents of an option element must either be text, or entity or character references. No markup is permitted.
    Mike

Bookmarks

Posting Permissions

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