qadeersipra1 said:
I am new to laravel as well as jQuery . In my sample application i have a form and outside this form i have a div. i want to send the form data in that specific div after user submit the form. Any ideas regarding this issue ?
Sorry, just to make sure I have this right.
Question: Where does the information from the div come from?
whatarewe said:
qadeersipra1 said:
I am new to laravel as well as jQuery . In my sample application i have a form and outside this form i have a div. i want to send the form data in that specific div after user submit the form. Any ideas regarding this issue ?
Sorry, just to make sure I have this right.
- You have a form. Say, name, address, phone number.
- You have a div outside the form. Users cannot type in this div. This div will eventually be filled up with information.
- When you submit the form, you would like the information from that div (outside the form) to be sent as well.
Question: Where does the information from the div come from?
qadeersipra1 said:
the information i am submitting into database
So if I understand correctly, I have a form here:
name :
e-mail:
password:
[submit]
When you fill it in:
name : Me Myself
e-mail: [email protected]
password: memememe
[submit]
and hit [submit], the form itself sends the information from the form (Me Myself, [email protected], mememememe) to your controller. You don't need to have that information in another div in order to for your controller to have access to it.
i have done some jQuery stuff for my problem and it is perfectly working
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community