Last post Mar 09, 2020 08:59 AM by yij sun
Mar 06, 2020 04:23 PM|Markus33|LINK
Hello would it be possible for you to help me with adding additional functionality to my Jquery script? Right now i am confused about how to choose which button edit button or how should i complete this function from my script. Whenever oi click on my edit
button i receive the following errors!.. But altogether my script has an error because i am just trying to learn the basics. but i have most of the code if it helps any. I have added new code to GitHub. Please reply! Markus33
404 not found
Endpoint Not Found
Mar 06, 2020 06:55 PM|smtaz|LINK
You are receiving a 404 which means whatever you are trying to call does not exist. Check that your route is correct. Use the network tab on your browser dev tools to view the request URL.
Mar 09, 2020 08:59 AM|yij sun|LINK
Accroding to your description,as far as I think,In your Service/SuperHeroService.svc , you could have to create a custom type containing a name value pair and the parameter of the page method will be an array of that custom type. Besides,I suggest you could
press F12 and click the error,you will find the details of your problems.
More details,you could refer to below codes:
public SuperHero editHero(string heroId)
More details,you could refer to below article：