Click here to Skip to main content
15,919,341 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello guys,
Recently i am working in MVC4 Razor view,it's fully depended on Jquery ajax function to call Action method.single page contain more than one Jquery ajax method to be used. my query is if it's possible to simplification the jquery functions or how to reduce the code segment?.
my exactly question is can move the jquery method to separate .Js file?

Regards
Karthikeyan Mathiyalagan
Posted

1 solution

Hi,

Yes you can do that and refer that file in your View using script tag.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900