[jQuery] Re: Clone html and change input value

2009-05-14 Thread rmfjcr
Thanks oly.yates, your code is a good start. I'll give it a try and post my results. Soon. On 14 Mag, 08:51, "oly.yates" wrote: > Have you tried using the .attr() or .val() functions to modify the > value of the cloned node? > var node = $("some node").clone(true).val("some value"); > var node

[jQuery] Re: Clone html and change input value

2009-05-13 Thread oly.yates
Have you tried using the .attr() or .val() functions to modify the value of the cloned node? var node = $("some node").clone(true).val("some value"); var node = $("some node").clone(true).attr("some attr", "some value"); On 14 May, 00:13, rmfjcr wrote: > Hi everybody. > I've got a form where us