Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Selection box

Status
Not open for further replies.

Lozbinator

Programmer
Jan 13, 2003
50
AU
Hello again!

Can anybody tell me why the code below wouldn't create (inside a HTML document) a selection box? DirectoryFile has lots and lots of rows - it is a text file with one word per line. - Thanks!!

HtmlDoc.write('<td>')
HtmlDoc.write('<select name=&quot;MoveTo' + str(FileCount) +'&quot;>')

for line in DirectoryFile:
HtmlDoc.write('<option>' + line + '\n')

HtmlDoc.write('</select>\n')
HtmlDoc.write('</td>\n')
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top