简体   繁体   中英

Java Script Functions Doesn't work After Error in One Function

I'm working with Asp.net Mvc and I Use Java script after i get error in A Function In Java Script other functions of page doesn't work until i refresh the page . so how can i handle errors for this problem?

The thing with JavaScript is that if the engine finds an error in your page, usually doesn't execute the code beyond that error.

The only thing you could do to handle this is to remove the errors.

EDIT:

Here you can see the most universal way of handling errors.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM