You may need to add a form tag (using new Element) then put the
contents of your form inside it. Alternately, you can have the form
tag as part of your HTML to begin with.
Thanks a lot! How does this new Element thing work? Do you have by
chance a quick example?
Thanks anyway, I'll see what
To insert something into the DOM use this. You can add other
attributes as well. Read the Prototype docs.
$(someDiv).insert(new Element(form, { id: 'moo' }))
On Sep 17, 6:53 am, luftikus143 [EMAIL PROTECTED] wrote:
You may need to add a form tag (using new Element) then put the
contents
Thanks.
I know have something like this:
function variables()
{
var url = '/xxx/etc/php/fill_variable_list.php';
var target = 'output-div';
var pars = 'selectedKeyword=.str_replace( , +,
$selectedKeyword).selected_ids=[EMAIL
Forms added to a document via innerHTML (which Ajax updater uses) are
not recognized at part as the DOM. You can add fields to a form this
way, but not forms themselves.
You may need to add a form tag (using new Element) then put the
contents of your form inside it. Alternately, you can have the