I have a form that has a text input and a file input. Anyway to push that over the socket on submit?
If I add it like this
params.image = $("#new_post_image")[0].files[0]
My params look like this in the channel
%{image: %{}, title: "image title"}