I have the following script block being rendered by a Razor view, but the debugger
line is simply ignored, in Chrome; in Firebug it works as expected. The alert
is working fine.
<script type="text/javascript">
function provinceChanged(e) {
debugger;
var url = "/Address/ListCities";
alert(url);
}
</script>
Anyone have a suggestion why this is so?开发者_StackOverflow社区
Do you have script debugging enabled in Internet Options? It's worth double-checking.
This has nothing to do with how your page was rendered...
精彩评论