I love Programming, and Eager to learn New things Curious about Microsoft Products, Interested in Knowledge sharing. If you can dream IT, You can become it, If you can think IT, You can do IT, If you can believe it, you can achieve IT.

Javascript cannot read from or write to files on the server. Because Javascript is running in the web browser after the web page has been copied from the server, it therefore cannot interact with the server (the computer that the web page was copied from) in any way.

Javascript cannot interact with server side scripts. Any server side scripts are run before the web page is downloaded to the browser. This means that a server side scripting language such as PHP or ASP can update the content of your Javascript code before it is downloaded. Since the Javascript itself isn't run until after the page has been downloaded the Javascript is not able to affect the server side script because that has already finished running. The only way that Javascript can pass information back to a server side script would be to reload the page passing the required information from Javascript as a query string on the end of the page address.

avascript cannot read from or write to files in the client. Even though Javascript is running on the client computer the one where the web page is being viewed) it is not allowed to access anything outside of the web page itself. This is done for reasons of security since otherwise a web page would be able to update your computer to install who knows what. The only exception to this are files called cookies which are small text files that Javascript can write to and read from. The browser restricts access to cookies so that a given web page can only access cookies created by the same site.

Javascript cannot close a window if it didn't open it. Again this is for security reasons.

Javascript cannot access web pages hosted on another domain . Even though web pages from different domains can be displayed at the same time, either in separate browser windows or in separate frames within the same browser window, the Javascript running on a web page belonging to one domain cannot access any information about a web page from a different domain. This helps to ensure that private information about you that may be known to the owners of one domain is not shared with other domains whose web pages you may have open concurrently.

Javascript cannot protect your page source or images. Any images on your web page are downloaded separately to the computer displaying the web page so the person viewing the page already has a copy of all of the images by the time they view the page. The same is true of the actual HTML source of the web page. The web page needs to be able to decrypt any web page that is encrypted in order to be able to display it. While an encrypted web page may require Javascript to be enabled in order for the page to be able to be decrypted in order for it to be able to be displayed by the web browser, once the page has been decrypted anyone who knows how can easily save the decrypted copy of the page source.

Hi friends,This is after a very long time. I was so busy now the days.Now i am sharing some client side javascript functions. Now the days most of the companies wants to give the as much as possible functionalite in the web applications like desktop applications. & one can achive this with the help of javascript. Another thing that comes into picture is AJAX. But now i will not talk about AJAX in this article. here i will describe some javascript techniques by which you can improve your web sites user interface & create it more user friendly. Lets start some basic tests:

/*This Script contain prototypes to extend the features of builtin datatypes of javascript.So that we can perform more advanced operations easily.If you want to use these features in your code you must have to include this file in pages head section.Author: Anuj Kumar RathiEmail: rathi.del@gmail.com*/// define error messagesvar allowed = "jpg.jpeg.JPG.JPEG";var blnkmail="Email Can't be blank";var mailfrmt="Enter a valid Email Address!";var sharemailfrmt='Please make sure that email addresses contain no spaces and exactly one "@" sign!';var confpwdblnk="Either Password or Confirm Password is blank!";var pwdmismatch="Password doesn't match!";var uidexists="Another User with this Email already registered!";var uidsucessed="You can Proceed with this mail!";var titleblnk="Title can't be blank!";var genblnk=" can't be blank!";var albumexists="Album already exists!";var leastrecpt="Please enter at least one recipant!";var msg_nan=" must be a Number";var msg_naf=" must be a Float Number";

// Check if string is Blank or Not. If blank then alert an Error Message with specified keywordString.prototype.CheckBlank=function(fname){if(this.IsBlank()){alert(fname+genblnk);return true;}return false;};

// Count the number of words ia a string. Words should be seperated by a single space (' '). If more then spaces found then it will be treated as multiple wordString.prototype.countWords=function (){return this.split(' ').length;}

So we're finally seeing a release version of Microsoft's commitment to the standards-based web and by most accounts, they've done a good job. Scott has an example of the ASP.NETAJAX Control Toolkit running inside of Opera so I think they want to make clear that Microsoft is targeting developers rather than trying to lock in consumers. This has implications for how WPF/E fits into the strategy, so I think this release is a good sign for all of us hoping to see Microsoft go more cross-platform.

The other thing to mention is that Scott talked briefly about "Orcas" the next iteration of Visual Studio:

All of the ASP.NET AJAX 1.0 features will be integrated directly into the next release of ASP.NET (codename: "Orcas"). Visual Studio "Orcas" will also provide client-side JavaScript intellisense, JavaScript compilation checking, and rich JavaScript debugging support for ASP.NET AJAX scenarios.

"Orcas" promises to be a pretty impressive release with its support of ASP.NET AJAX as well as XAML/WPF intelllisense. I'm still not entirely clear how ASP.NET AJAX and WPF/E will fit together, but because WPF/E supports JavaScript, I think we'll see some synergy there and that one technology will be able to help the other as they grow.