Hello, I am a beginner of writing vbscript and I am now facing a question, my coding as follow
[code=asp]<%
dim ID(5)
dim value(5)
dim count = 5
dim i = 0
while i<count
response.write( "<form>")
response.write( "<input type = checkbox ID = "+ID(i)+" value = "+value(i)+ ">")
response.write( </form>
end while
%>[/code]The output only displays checkboxs with no value and the checkbox can not be accessed even I check it , is there anything wrong with my coding? And is there any solution (or other method) can satisfy the same situation?
[code=asp]<%
dim ID(5)
dim value(5)
dim count = 5
dim i = 0
while i<count
response.write( "<form>")
response.write( "<input type = checkbox ID = "+ID(i)+" value = "+value(i)+ ">")
response.write( </form>
end while
%>[/code]The output only displays checkboxs with no value and the checkbox can not be accessed even I check it , is there anything wrong with my coding? And is there any solution (or other method) can satisfy the same situation?
Comment