# Get value from different element without form

**URL:** <https://forum.elixirforum.com/t/get-value-from-different-element-without-form/40924>\
**Category:** Questions\
**Tags:** liveview\
**Created:** [July 8, 2021, 3:31pm UTC](https://forum.elixirforum.com/t/get-value-from-different-element-without-form/40924 "2021-07-08T15:31:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kokolegorille](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/kokolegorille/32/4784_2.png) [@kokolegorille](https://forum.elixirforum.com/u/kokolegorille)\
**Post date:** [July 8, 2021, 3:43pm UTC](https://forum.elixirforum.com/t/get-value-from-different-element-without-form/40924/2 "2021-07-08T15:43:39Z")

</div>

Javascript can do that kind of interactivity…

> [@ThatWeirdProgrammer](#):
>
> `<button type="button" :on-click="next" />`

I think there is a typo on :on-click.

---

_[View the full topic](https://forum.elixirforum.com/t/get-value-from-different-element-without-form/40924)._
