What is sb.append?

And why are you directing the DOC to return a false for the object
(unchecked)?

It's really difficult to diagnose your problem without code snippets that do
not include your API for which you are using to process this information.

Mark

This email scanned with Norton AntiVirus 2002


----- Original Message -----
From: "Kevin Lin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 19, 2001 8:26 PM


Some codes like this:
------------------------------------------------------------------------
sb.append("<tr><td><input type=checkbox name=coking_data unchecked>Coking
Parameters</td>\n");
sb.append("<td><font face=arial size=1>Gas,Diluent</font></td></tr>\n");
sb.append("<tr><td><input type=checkbox name=reaction_data
unchecked>Reaction Parameters</td\n");
sb.append("<td><font face=arial
size=1>Temperature,Pressure</font></td></tr>\n");
sb.append("<tr><td><input type=checkbox name=decoking_data
unchecked>Decoking Parameters</td\n");
sb.append("<td><font face=arial size=1>Pressure</font></td></tr>\n");
--------------------------------------------------------------------------
if (sel[1]!=null && sel[1].equals("checked"))
        ...................................

Hope this will help.

Kevin


-----Original Message-----
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 19, 2001 5:15 PM
To: [EMAIL PROTECTED]
Subject:


It's been awhile since I've done JavaScript with checkboxes, but I seem to
remember that an unchecked box will return 0 (false).

Mark

This email scanned with Norton AntiVirus 2002


----- Original Message -----
From: "Richard Yee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 19, 2001 5:16 PM


> bin,
> If you are getting null, then the checkbox that you are reading wasn't
checked.
>
> Regards,
>
> Richard
>
> At 04:40 PM 12/19/2001 -0500, you wrote:
> >Hello, listers,
> >I got one problem using
> >request.getParameter("checkboxname");
> >I create two frames in one window, Frame1 and frame2.
> >Frame 1 has the menu like add, modify and delete whcih
> >are put in a form.
> ><form name= frame 1 action="ShowStudentModule1"
> >method=Get Target=_parent>
> ><table align=center >
> ><tr><td>
> ><select name="action">
> ><option value="Add">Add
> ><option value="Modify">Modify
> ><option value="Delete">Delete
> ><option value="Upload">Upload File
> ></select>
> ></td>
> ><td>
> ><input type="submit" value="Go" >
> ></td>
> ></tr>
> ></table>
> ></form>
> ></body>
> ></html>
> >
> >another frame is to show the records of student
> >this is html output about this page
> >
> ><tr>
> ><td><input type="checkbox" name="record1"
> >value="360234" ></td>
> ><td>360234</td><td>Bin Tao</td></tr>
> >
> ><tr>
> ><td><input type="checkbox" name="record2"
> >value="456785" ></td>
> ><td>456789</td><td>Tom LIu</td>
> ></tr>
> >
> >
> >when i check several checkbox (with differnt names)
> >
> >and submit the form. I hope in the called servlet
> >program, the request.getParameter(checkboxname) can
> >get the values and then put into array for future use
> >e  like delete the students, for example.
> >
> >but what i got is null.
> >
> >could you please tell me how to get around this
> >problem. your help will be appreciated
> >
> >bin
> >
> >
> >
> >______________________________________________________
> >Send your holiday cheer with http://greetings.yahoo.ca
> >
>
>___________________________________________________________________________
> >To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> >of the message "signoff SERVLET-INTEREST".
> >
> >Archives: http://archives.java.sun.com/archives/servlet-interest.html
> >Resources: http://java.sun.com/products/servlet/external-resources.html
> >LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to