Last post Jan 09, 2018 06:55 AM by Cathy Zou
Jan 07, 2018 09:33 PM|rkrex|LINK
In the case where i have a main view and two partial views within the main view. Will i have scripts for each of the views....main view and partial views, or will i put my scripts in one place or in just one of the views. I have a case where i want to add
a row to a list on one of the views when i create a new object on the other partial view. Or basically I want to add the item on one of the partial views and show the user the item that they added on the other view. Thanks
Jan 09, 2018 06:55 AM|Cathy Zou|LINK
Will i have scripts for each of the views....main view and partial views, or will i put my scripts in one place or in just one of the views.
You could put your scripts in one place. It will work for partial view.
However, it is suggested that putting the js file for each partial view in it’s view for easy reading and better management.
Following links for better understanding and reference: