Yes. That makes more sense. Thanks.

On Apr 16, 9:28 pm, "Jeff S." <[EMAIL PROTECTED]> wrote:
> Are you sure appending is what you want to do?  Appending to an
> <input> does not really make sense to me.  Maybe using the after() or
> before() would make more sense.
>
> DIV beforeappend:
> <div id="some_id"></div>
> DIV afterappend:
> <div id="some_id"><input type="hidden" name="name"  value="some
> value" /></div>
>
> INPUT beforeappend:
> <input name="name" id="some_id" type="text" size="35" />
> INPUT afterappend:
> <input name="name" id="some_id" type="text" size="35"><input
> type="hidden" name="name"  value="some value" /></input>
>
> On Apr 16, 9:33 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > I just noticed that I canappendOK in IE6 to a <div></div> block, but
> > not to a form element. In other words, appending to:
>
> > <input name="name" id="some_id" type="text" size="35"> <- does not
> > work
>
> > Appending to:
>
> > <div id="some_id"></div> <-  works
>
> > On Apr 16, 8:13 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > > I am appending a hidden form field similar to this:
>
> > > $("#some_id").append("<input type=\"hidden\" name=\"name\"  value=
> > > \"some value\">");
>
> > > Works fine in all Mac browsers but testing in IE6 on Windows it
> > > appears to not to get added to the DOM tree. The hidded value is not
> > > available when the form is submitted.
>
> > > Also tried $().html()
>
> > > IE6 reports "Unexpected call to method or property access"

Reply via email to