• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Javascript Null Object Error


#1
Hi

Can somebody please help me? I am using a custom form elements script in the link below:

www_bristolstreet_co_uk/page/find_a_dealer.htm

and an error for null object is appearing from this line:

active = option[0].childNodes[0].nodeValue;

I am a novice at Javascript but got this script working perfectly on my local machine - once I loaded it the live site it didn't work... any advice would be greatly appreciated.