I have two pages, a employee edit page and a view all employe table page.
I want to be on the view all employee table page and if the users clicks a row, I want to submit to the controller the employee id and then load the employee edit page. I can get all the information needed to do this but can’t seem to find a way to submit the page to the controller with the additional parameter.
Any ideas???
EDIT
Essentially what I want to do is if the click a row in the datatable for employee id 5, I want to say submit the form to /LoadEmployeeInfo/Employee with employee id 5 as the parameter. Can this be done with javascript????
To do this you just need to get the EmployeeId and then can just call the link
your action method should have id as method parameter