All pastes #216352 Raw Edit

Mine

public text v1 · immutable
#216352 ·published 2006-10-23 02:27 UTC
rendered paste body
// I'm taking a page of text with 6 forms from an XMLHTTPRequest
// then parsing them onto the page with a .innerHTML statement.
// it all works out fine, except the <form tags of the first form go into
// the innerHTML statement, but come out missing on the other side
// why is .innerHTML removing my first form tags ?

      <div style='clear:both;' id='record_id_30' >
        <form action='#' method='post' id='form_id_0' >
           <table width='100%'>
            <tr>
             <th>
         <input id='organ_id_0' type='text' name='organization' class='input_node' value='MoonKkang' />
             </th><input type='hidden' name='rec_id' value='30' />