arun 0

document type does not allow element "script" here

        <script type="text/javascript">

element "countries.length" undefined

for(var i=0; i<countries.length; i++) {

http://nephrology.emanuae.com/submit-postertest.php

2 answers

arun 0
0
points

http://nephrology.emanuae.com/submit-postertest.php

Answered almost 8 years ago by arun
0
points

You can't put a script element in the select tags like you do. Basically, your problem is badly nested tags. Why not put the bulk of the script in the head section, and reference that code within the select elements.

While I'm at it, don't use the answer sections to respond to our answers. Use the comment feature, or edit your original post.

Answered almost 8 years ago by Abinadi Ayerdis
  • thank u so much for ur support...but am confused how to reference script in select elemnts arun almost 8 years ago