Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#7819 closed bug (invalid)

Template rendered form values are not included in postback

Reported by: blackbart Owned by:
Priority: undecided Milestone: 1.6
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:

Description

As best as I can tell, when I use a template to render input elements they are not included in the post back. I have checked what is getting sent in the postback with Fiddler and in my demo the name1 (statically rendered) and name2 (dynamically rendered) input boxes work just fine. But the id_one and id_two input boxes created from the template do not show up in the postback.

http://jsfiddle.net/blackbart/dKGrF/1/

Change History (4)

comment:1 Changed 10 years ago by blackbart

I was using Firefox 3.16.3 and Fiddler 2.3.1.0.

comment:2 Changed 10 years ago by Rick Waldron

Resolution: invalid
Status: newclosed

This is not a jquery bug; serialize uses the name attribute: http://api.jquery.com/serialize/

Working example:

http://jsfiddle.net/rwaldron/dKGrF/9/

comment:3 in reply to:  2 Changed 10 years ago by blackbart

@rwaldron Thank you.

comment:4 Changed 10 years ago by Rick Waldron

:D You're welcome!

Note: See TracTickets for help on using tickets.