# Send onClick to another field

**URL:** https://forum.kirupa.com/t/send-onclick-to-another-field/242817
**Category:** web dev
**Created:** [October 30, 2007, 6:30pm UTC](https://forum.kirupa.com/t/send-onclick-to-another-field/242817 "2007-10-30T18:30:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Multi\_Task](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@Multi\_Task](https://forum.kirupa.com/u/Multi_Task)
#### Post date: [October 30, 2007, 6:30pm UTC](https://forum.kirupa.com/t/send-onclick-to-another-field/242817/1 "2007-10-30T18:30:52Z")

</div>

How can I go about getting a response from an onClick function send that field element to another field (div)? Kind of like a shopping cart would do but with no server interaction. Just click and then a div would list what you just clicked. And if you clicked something else it would show that below and add text element to div.
