Hi,
Right now, my application would generate text to a DIV field in the view
using Ajax. Is there anyway to store the data into a record? It would
be possible with a text field, but it is very awkward if text field is
used instead of DIV.
Hi,
Right now, my application would generate text to a DIV field in the view
using Ajax. Is there anyway to store the data into a record? It would
be possible with a text field, but it is very awkward if text field is
used instead of DIV.
A text field looks too ugly and I don’t know how I could send data to
both text field and div simultaneously. In the end, I changed the logic
of the program so that the text generated will be saved in the active
record, the view would have to look into the record for the text.
Thanks anyway for the suggestion though.
How about a textarea?
If you really need to you could update a hidden form field with the div
data
and them submit it but I sure wouldn’t want to go down that road
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs