This seem like a weird question, most likely because I don't know how to put it.
Say like I have a js function that loads on click and simply gives an alert box
alert("Hello! I am an alert box!!");
Now, how can I have a form in my Laravel panel, like "Text" and what text I put there is what shows in the Alert box? How do I parse PHP's value into JS?
It's a newbie question, I know and very grateful for any assistance. Can't seem to find anything as I don't exactly know what to type.