我有这个:
<div id="atc_images"></div>
<textarea id="img" style="display:none" rows="30" cols="30" name="cur_image"></textarea>
<input name="invia" type="submit" value="Invia" onclick="document.getElementById('img').innerHTML = getElementById('atc_images').innerHTML";>
所以我发送到submit.php
将在里面生成的内容<div id="atc_images"></div>
getElementById
单击时如何一次传递多个<input type="submit"..>
?
我想要这样的东西:
<input name="invia" type="submit" value="Invia" onclick="document.getElementById('img').innerHTML = getElementById('atc_images').innerHTML && document.getElementById('title').innerHTML = getElementById('title_inside_another_div').innerHTML";>