javascript or jquery
window.open
Do what you need and close the window.
Thanks for reply.
I need some clarity on several aspects. Let me break it up.
How will I best manage this?
Could you use a popup for this also, and when updated have a button to finally close the popup.
If you are not familiar with jquery ajax, you should goto the w3schools.com site. Sounds like what you
are doing is a good candidate for a combination of php, your views, and jquery ajax. You could actually
have jquery close and open another popup.
Yup Jim I am doing a popup. And yes I do have acceptable jquery ajax knowledge :)
But what I am struggling to foresee is how will I be able to:
Please advice :) Thanks.
Marius0188 said:
- How can I use the same create controller method for both scenarios? Use seperate controller methods if possible since two different things.
As far as the popup, add a close button the user can click when all done.
Is Nationality and Student always created at the same time?
Redirect according to a condition, kinda like a login, where a successful login
takes you to a page an unsuccessful login may goto an error page.
Sounds like you almost have it, just having to figure some if else elseif logic
and redirects.
i create two layouts. One call default.blade.php where i put all the menus, scc, .js, etc...and other one called partilal.blade.php that i remove the menus. Then i reate views/forms that use the partial.blade.php. So when i open a modal with bootstrap via javascript i dont see the menu. So basically i load the view into a modal box and the show the modal.
$('.edit').on('click', function ()
{
var id = $(this).attr("id"); //get the id from the line
$('#loadForm').load(domain+'/item/'+id)//load a view into a modal
$('#modalEditEntry').modal('show'); //show the modal
});
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community