We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hi,
I am using LPC2366, written a code in scripting language.... In the web browser I want to display three selection BOXES, but when I try to open the web page with this code it does not open, However for two text boxes it works......... please suggest me the modification that has to be done in my code...
<----------------cdma.cgi------------------------> # Here begin data setting which is formatted in HTTP_CGI.C module--> t <TR><TD><IMG SRC=pabb.gif>Communication Mode</TD> c b o <TD><select name="cm"><OPTION %s>Ethernet</OPTION><OPTION %s>Gprs</OPTION><OPTION %s>Cdma</OPTION></select></TD></TR>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<---------------- HTTP.c----------------------->
switch(env[2]){
case 'o':
if ( SchedCfg.ucCommedium == 0 )
len = sprintf((S8 *)buf,(const S8 *)&env [4], "selected", "", "" );
else if ( SchedCfg.ucCommedium == 1 )
len = sprintf((S8 *)buf,(const S8 *)&env[4], "", "selected", "" );
else if ( SchedCfg.ucCommedium == 2 )
len = sprintf((S8 *)buf,(const S8 *)&env[4], "", "", "selected" ); break;
Sounds like an HTML parsing problem to me. Your posted code is unreadable; Use the proper tags please.