Hi guys, just started using rails and is trying to implementing the
present html with some rails…
However i met this problem when i am trying to port over some php code
in html to rails and i cant find any method to successful convert the
Below is a feature i tried to implement in rails way:
there are 2 buttons on the html. Besides these 2 buttons is an infobox.
So, whenever one of the buttons is pressed, the infobox have to show the
respective information assigned to each button. At any one time, only
one button can be pressed and the infobox have to change the information
displayed inside it accordingly and immediately.
Here is the code i did and not sure wat’s wrong:button info
Thanks for any help anyone can provide me.