Results 1 to 3 of 3

Thread: embedding a script within itself

  1. #1
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default embedding a script within itself

    1) Script Title:
    Combo-Box Viewer (in Dynamic Content)

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...omboviewer.htm

    3) Describe problem:

    I am trying to get this to work within itself, ie. when the viewer chooses an option in the dropdown, another dropdown appears instead of text. Any ideas on that? I have tried copy pasting the <form> code that goes in the body within a div id for a specific option. I also tried separating the portion of the script that goes in the header into a separate javascript file that is embedded in the header of the page, but it didn't seem to help.

    I know questions about multiple scripts on a page aren't generally supported, but multiples of this script are working great! Just not when I put it inside itself.

    Thanks for any suggestions!

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  3. The Following User Says Thank You to rangana For This Useful Post:

    hjordan (08-31-2008)

  4. #3
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default thanks

    Thank you! i know next to nothing about java so that was a big help.

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
  •