Given
below are the things which you cannot do with JavaScript:
- JavaScript cannot be forced onto a browser. Since JavaScript runs on client-side, the user has control over it. He can disable JavaScript on his browser or use older version of the browser in which case, JavaScript will not not work.
- Same Origin Policy – Resources cannot be accessed or modified from another Internet domain with JavaScript, which is known as Same Origin Policy. The JavaScript script can only access resources on the same website.
- Server resources (such as databases) cannot be accessed with JavaScript. Since it is a client-side language, it's limited to what can be done on the client.
No comments:
Post a Comment