I haven’t used JavaScript for sometime.
I’m trying to get this following script working so if I select “Ireland” in the dropdown, the Ireland select menu appears below. The same goes for America and Canada.
http://jsfiddle.net/mcgarriers/DPSe4/
However it’s just not working. Can anyone take a look and explain why?
I’m sure it’s something simple.
Many thanks for any help at all.
Now its working :
http://jsfiddle.net/DPSe4/3/
You needed to pass the “SELECT” node to the function , instead of the form.