如何获得web_submit_form中ITEMDATA下数据的条数
web_submit_form代码如下:web_submit_form("itinerary.pl",
"Snapshot=t4.inf",
ITEMDATA,
"Name=1", "Value=on", ENDITEM,
"Name=2", "Value=<OFF>", ENDITEM,
"Name=3", "Value=<OFF>", ENDITEM,
"Name=4", "Value=<OFF>", ENDITEM,
"Name=5", "Value=<OFF>", ENDITEM,
"Name=6", "Value=<OFF>", ENDITEM,
"Name=7", "Value=<OFF>", ENDITEM,
"Name=8", "Value=<OFF>", ENDITEM,
"Name=9", "Value=<OFF>", ENDITEM,
"Name=10", "Value=<OFF>", ENDITEM,
"Name=11", "Value=<OFF>", ENDITEM,
"Name=12", "Value=<OFF>", ENDITEM,
"Name=13", "Value=<OFF>", ENDITEM,
"Name=14", "Value=<OFF>", ENDITEM,
"Name=15", "Value=<OFF>", ENDITEM,
"Name=removeFlights.x", "Value=143", ENDITEM,
"Name=removeFlights.y", "Value=14", ENDITEM,
LAST);
现在ITEMDATA下面有15条,我想动态的获得ITEMDATA中数据的条数,然后在确定那一条value=<on>,请问大家这一块怎么实现?希望得到大家的帮助,我先谢谢各位了! =。=直接看html的表单怎么做的或者参数怎么给的,对一下就知道了
页:
[1]