Results 1 to 3 of 3

Thread: An imposible task?

  1. #1
    Join Date
    Dec 2002

    Question An imposible task?

    Hi all...

    I'm really new to this HTML stuff so please be gentle with me!

    What I'd like to do is this:

    Using HTML only. Is there a way to convert a list of alpha numeric characters (over 1000 of them) into a clickable list, so that when a character is clicked it is copied into a text box?

    Or am I asking too much?

    Any help or pointers would be greatly appreciated.

    Many thanks in advance for any help offered.

  2. #2
    Join Date
    Nov 2002
    Something like this?

    <script type="text/javascript"><!--
      function addToList() {
        if (document.getElementById) {
          var selectElement = document.getElementById('char_list');
          document.getElementById('output').value +=
    <form action="..."><p>
      <select size="10" id="char_list" onchange="addToList();">
        <option value="abc">abc</option>
        <option value="def">def</option>
        <option value="ghi">ghi</option>
        <option value="jkl">jkl</option>
        <option value="mno">mno</option>
      <textarea id="output"></textarea>

  3. #3
    Join Date
    Dec 2002
    Hey Andy,
    as the post above is trying to imply, I'm afraid you cannot do it with JUST html, unless you do it manually 1 by 1.
    You can do it with client-side scripting like JavaScript, or server-side scripting like php!

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