With JS inserted input-tags are not passes as parameters to

I use this:

function addBmw(){   tel = $('bmws').select('div[id^=bmw]').size(); // for a unique id   bmw = $F('sel_bmw').split('|'); // selected bmw => 54|Valery   bmw_line = '<div id="' + 'bmw' + (tel).toString() + '">';   bmw_line += '&nbsp;<img alt="delete" border="0px" src="/images/delete-icon.jpg" onclick="javascript:delBmw(' + (tel).toString() + ')" />';   bmw_line += '<input style="position:relative;left:200px" id="event_employer_' + bmw[0] + '_opmerkingen" name="event_employer[' + bmw[0] + '][comment]" size="60" type="text" />';   bmw_line += '<label style="position:relative;right:380px">&nbsp;' + bmw[1] + '</label>';   bmw_line += '</div>';   Element.insert('bmws', {bottom: bmw_line}); } function delBmw(bmw_id){   Element.remove('bmw' + bmw_id) }

With this client-side javascript I add input tags to a webpage, but when I submit the page, there are no parameters created for the input fields, when it is entering the controller???

Someone knows an answer? (or is it just working as designed?)

TIA, Adrie

I use this:

With this client-side javascript I add input tags to a webpage, but
when I submit the page, there are no parameters created for the input
fields, when it is entering the controller???

Are your inserted html tags actually inserted in between the <form>
tags ?

Frederick Cheung wrote: