Up vote 0 down vote favorite share g+ share fb share tw.
I am pretty new to Rails and I am stuck with the following problem, browsing the web did not really help me, most likely because I am too new to Rails 3...... In a form I have a selection box with several options to select. When a specific values has been selected I would like to enrich my form with further input fields. How can I do this...? I understand that there could be AJAX come into play and that I have to render "partials".
I have tried to remodel Coffeescript code to my needs, but I failed. Any hints you can give me, please? Thanks in advance, Dirk Here is the code I am using: $fluege.js.
Coffee" Will be called when a pulldown box will be changed. Acts on to specific values. I can confirm that this will be called by console log... jQuery -> $('#flug_startart').
Change -> selected = $('#flug_startart :selected').val() console. Log(selected) if selected == 'F' or selected == 'FX' $('#fschlepp'). Html("") "_fschlepp.html.
Erb" What actually happens is that ""will be inserted in the html page, it will not be evaluated and the partial will not be rendered.... What do I wrong? Ruby-on-rails-3 forms link|improve this question edited Jan 15 at 17:53 asked Jan 15 at 9:37Dirk Beerbohm12.
Show us your code and tell us what changes you made and how you failed. Only then someone can help you. – Jatin Ganhotra Jan 15 at 11:53.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.