Welcome Guest, Not a member yet? Register   Sign In
Pass button id to controller from view
#7

(08-17-2015, 11:24 PM)nofpowells Wrote:
(08-17-2015, 10:34 PM)pdthinh Wrote:
(08-17-2015, 07:58 PM)nofpowells Wrote: Well, to complete my question.

This button open a modal i the same page.
How can i call a function in controller using a button?

It looks like you're opening a modal use javascript / jquery, so you should reference the modal docs.
If you want to pass it to a controller (on server side), make sure you put the button on a form.

P/s: Sorry for my English
Yeah, its a modal. I'm researching, but maybe only with Ajax to populate modal.

Where you from?
I'm from Vietnam.
Reply


Messages In This Thread
RE: Pass button id to controller from view - by pdthinh - 08-18-2015, 05:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB