Web Hosting Talk







View Full Version : <FORM> problem


Qacer
08-22-2002, 05:55 PM
Hi all,

I'm having a hard time figuring out what is wrong with my <FORM> tag. If I put it inside a table's row, it does not work. However, if I put it outside the <TABLE> tag, it works.

Here is a link:
Site Problem (http://web.tampabay.rr.com/qacer/ieee/)

Studio64
08-22-2002, 06:01 PM
These are my results for the search button on the left.
IE 6.0.2600 -- Works
Mozilla 1.0 -- Works
Opera 6.01 -- Works

Qacer
08-22-2002, 07:48 PM
Hey there,

Works? I tried it again, but it's still not working. The form is pointing to

http://org.eng.usf.edu/IEEE-EE/cgi-bin/search/search.pl

I'm trying to figure out why the form on the right (in the table) is not working. It's the same piece of code.

Thanks..

archie2
08-23-2002, 01:11 PM
Try putting a <form> inside a <TR> tag and a <table> inside the form tag.

driverdave
08-23-2002, 06:35 PM
document.write("<form name=date_list><table bgcolor=#ACE1FA><tr><td>");
You never close this form tag.



<form action="http://org.eng.usf.edu/IEEE-EE/cgi-bin/search/search.pl" method=post
target="_blank">
Your coding is inconsistant. Quote all of your attributes. I know most browsers let you get away with it, but it doesn't make it correct.



But I think your problems are caused by that unclosed form tag.

combs
08-24-2002, 12:10 PM
if double quote is a problem in document.write as it will delimit the string use two double quotes instead. i.e.

document.write("<form action=""http://org.eng.usf.edu/IEEE-EE/cgi-bin/search/search.pl"" method=post
target=""_blank"">")