Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #33690

Re: Cloning a table and not allowing click anywhere to trigger this event

Newsgroups comp.lang.javascript
Subject Re: Cloning a table and not allowing click anywhere to trigger this event
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <441c01c2-320f-47e9-a386-28b4b598f692@googlegroups.com> <6a61845c-26e6-44d3-8e2c-ca8e4a35b833@googlegroups.com> <ce7d333c-2102-4456-833c-3341032c75f9@googlegroups.com> <XnsA7C6749794CBFeejj99@194.109.6.166> <0ab3b10f-af5c-4a00-83ab-9007f3f11346@googlegroups.com>
Date 2017-08-05 10:38 +0200
Message-ID <XnsA7C86C5624C38eejj99@194.109.6.166> (permalink)

Show all headers | View raw


justaguy <lichunshen84@gmail.com> wrote on 05 Aug 2017 in
comp.lang.javascript: 

> On Thursday, August 3, 2017 at 5:27:49 AM UTC-4, Evertjan. wrote:

>> Elements have content, do you mean that? 
>> 
>> You would have to insert the new content anyway,
>> so replacing content would do fine.
>> 
> 
> But if there's a radio button element in the form, the original checked
> value is not retained when its clone node is created, looks like it's a
> bug. 

Please no!

What do you mean by "original checked value"?

"checked" of a radio-button is not a value,
the attribute checked of a radio-button can be true/false,
that is whay I would also and de facto call 'content',
where the topmost checked is the form's radio-button value.

But unless that is expressly stated so in the html,
why should that value be carried on a DOM-cloning?

[When you are DNA-cloned, will your clone carry your memories?]

[I hope you plan to clone the whole form, if you clone a radio-button-group 
inside a form, you will have to rename the name of the second group]


-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Cloning a table and not allowing click anywhere to trigger this event justaguy <lichunshen84@gmail.com> - 2017-08-02 13:53 -0700
  Re: Cloning a table and not allowing click anywhere to trigger this event justaguy <lichunshen84@gmail.com> - 2017-08-02 15:45 -0700
    Re: Cloning a table and not allowing click anywhere to trigger this event justaguy <lichunshen84@gmail.com> - 2017-08-02 21:29 -0700
      Re: Cloning a table and not allowing click anywhere to trigger this event "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-08-03 11:27 +0200
        Re: Cloning a table and not allowing click anywhere to trigger this event justaguy <lichunshen84@gmail.com> - 2017-08-03 11:34 -0700
          Re: Cloning a table and not allowing click anywhere to trigger this event justaguy <lichunshen84@gmail.com> - 2017-08-04 12:50 -0700
            Re: Cloning a table and not allowing click anywhere to trigger this event justaguy <lichunshen84@gmail.com> - 2017-08-04 14:00 -0700
        Re: Cloning a table and not allowing click anywhere to trigger this event justaguy <lichunshen84@gmail.com> - 2017-08-04 19:06 -0700
          Re: Cloning a table and not allowing click anywhere to trigger this event "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-08-05 10:38 +0200
  Re: Cloning a table and not allowing click anywhere to trigger this event JR <jrfaqcom@gmail.com> - 2017-08-05 13:07 -0300

csiph-web