Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] https://lists.latech.edu/pipermail/javascript/2001-October/002380.html
- From: javascript@xxxxxxxxxx (Stefan Weise)
- Subject: [Javascript] https://lists.latech.edu/pipermail/javascript/2001-October/002380.html
- Date: Fri, 28 Jun 2002 15:24:10 +0200
do you remember your posting below? did you finally find a solution?
document.createElement("<INPUT type=checkbox checked");
... works but it's not very nice ...
have fun
stefan (bonn, germany)
----------------------------------------
[Javascript] just Checking Checkboxes
Bill Marriott javascript@xxxxxxxxxx
Fri, 12 Oct 2001 07:10:41 +1000
Previous message: [Javascript] Jobs available...
Next message: [Javascript] just Checking Checkboxes
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Everyone,
Today's problem for me is:
How in Javascript can I 'Check' a checkbox box when I add it as an
element
in code?
The code below will add it to the new row but I want to check it as well
and
if possible make it invisible
Bill.
var addObj = document.createElement("INPUT"); ////// a add check box
addObj.type = "checkbox";
addObj.name = "ADDLINK";
addObj.id = "A1";
var addObjParent = newRowObj.lastChild.previousSibling;
addObjParent.appendChild(addObj);
Previous message: [Javascript] Jobs available...
Next message: [Javascript] just Checking Checkboxes
Messages sorted by: [ date ] [ thread ] [ subject
- Prev by Date: [Javascript] Objects with Javascript
- Next by Date: [Javascript] https://lists.latech.edu/pipermail/javascript/2001-October/0023
- Previous by thread: [Javascript] is it better to use an 2 arrays or an object
- Next by thread: [Javascript] https://lists.latech.edu/pipermail/javascript/2001-October/0023
- Index(es):