Search code examples
jquerylaravelhtmlelements

Laravel jQuery adding and removing HTML elements


I'm new in Laravel framework and i need an option to add and remove a row from a form. Is there maybe some easier and faster way in Laravel or i need to make it "oldschool" like in this video https://www.youtube.com/watch?v=iaeCSh7YJDM

enter image description here


Solution

  • Adding and removing form elements dynamically is pure frontend feature, so yes, you should do this 'oldschool' way with JavaScript.