Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
Hi all!
I have a small asp.net mvc application in Visual Studio 2012. In first versions I had a java script which worked with jquery library. There was a dropdown for some list which used a test method called GetDropDownData for onChange method like the follows:
JavaScript
function GetDropDownData(id) {
    $.ajax({
        type: "POST",
        url: "GetActionsList",
        data: '{command_id: "' + id + '" }',
        contentType: "application/json; charset=utf-8",
        dataType: "json",
        success: OnList,
        failure: OnFailure,
        error: function (response) {
            alert(response.responseText);
        },
    });
}

It worked perfectly. But when GetDropDownData method was renamed to GetActions script was not updated for IE 9 while application's debugging lanched. It throws an exception: 0x800a1391 - Microsoft JScript runtime error: "GetActions" is undefined
I can browse my script in Solution Explorer in application's project and in 'Script Documents' section while running app from Visual Studio. Script version in this section is a older than in project. How to 'refresh' this version to actual one? Other browsers has no such issue.
Posted
Updated 25-Aug-14 4:25am
v2

1 solution

Use Ctrl + F5 to refresh JavaScript and CSS.
 
Share this answer
 
Comments
skydger 26-Aug-14 2:20am    
It helped, thank you! :)

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