.net web form application using javascript
-
In a C# 2010 web form application, I have found some JavaScript statements that will not allow the application to execute when I am using the Internet Explorer browser since some of the objects are obsolete/deprecated. However when I run the application using Firefox, I find that the application runs. I have also noted that some of the Javascript objects in the web form application may be deprecated in the future and to use these items with caution. Thus if I deploy a new version of the current web form application and tell all users to only use Firefox in the next few weeks, I will create a static executable that everyone can use. Then when some of the objects are not allowed in Firefox, the application will still run since I have not changed the executable, correct? Would I need create a new version of the application with the Javascript changes that are required? If this is not true, would you let me know why and potentially what I should do to solve the issue?
-
In a C# 2010 web form application, I have found some JavaScript statements that will not allow the application to execute when I am using the Internet Explorer browser since some of the objects are obsolete/deprecated. However when I run the application using Firefox, I find that the application runs. I have also noted that some of the Javascript objects in the web form application may be deprecated in the future and to use these items with caution. Thus if I deploy a new version of the current web form application and tell all users to only use Firefox in the next few weeks, I will create a static executable that everyone can use. Then when some of the objects are not allowed in Firefox, the application will still run since I have not changed the executable, correct? Would I need create a new version of the application with the Javascript changes that are required? If this is not true, would you let me know why and potentially what I should do to solve the issue?
dcof wrote:
Would I need create a new version of the application with the Javascript changes that are required?
I don't quite follow what you are asking, but if you find you are using old JavaScript that some browsers no longer support I suggest you update your code to be current. In my opinion, there is no need to create a new version of the application, just update your javascript and deploy the updated javascript.
There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.
-
dcof wrote:
Would I need create a new version of the application with the Javascript changes that are required?
I don't quite follow what you are asking, but if you find you are using old JavaScript that some browsers no longer support I suggest you update your code to be current. In my opinion, there is no need to create a new version of the application, just update your javascript and deploy the updated javascript.
There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.
-
As far as I know when you deploy an application that includes the javascript. How do you deploy the javascript separately?
-
All you have to do is copy the files.
There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.
I am not very familiar with javascript. I only know enough to make minor changes. Thus how do you copy the javascript files? I know that the files end with .js and they are at various locations within the entire solution file. Wouldn't I have to copy all those files to the same directory structure on the server that hosts the website?
-
I am not very familiar with javascript. I only know enough to make minor changes. Thus how do you copy the javascript files? I know that the files end with .js and they are at various locations within the entire solution file. Wouldn't I have to copy all those files to the same directory structure on the server that hosts the website?
dcof wrote:
Wouldn't I have to copy all those files to the same directory structure on the server that hosts the website?
Yes, but aren't they already there? So, if you change one file in development you only need to copy that file to production.
There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.