Jump to content

pabirds

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by pabirds

  1. I am trying to adapt some code I found online and I don't understand one (actually more) of the lines of code.

    The code is from a function to generate dropdown lists that depend on previous dropdown lists.

    The line says "echo "addOption(document.drop_list.Category, '$nt1[cat_id]', '$nt1[category]');";"

    What does the $nt1 mean and why are there two different values for it?

    Can someone explain this to me in novice language?

    I can't find any reference to addOption in the Javascript reference.

    I'm trying to substitute my table fields into the code, but can't figure out which goes where.

     

     

     

×
×
  • Create New...