Browse by Tags
All Tags »
Javascript (
RSS)
Using regular expressions in ASP.Net is even easier than implementing them in plain html and yet few developers are using them. In this article I will show two ways of implementing Regular Expressions, using a Regular Expression Validator and using plain Javascript in ASP.Net. Both examples are very very simple. We will validate a telephone number and an email address. How to Implement Regular Expressions in ASP.Net with Validator Controls. 1) Create a new a page in a web application project in visual...
Recently Brian Johnson posted something that made me think. There are hundreds and probably thousands of web developers out there who have never used regular expressions and even if the knew about them they don't know HOW to implement them. Regular expressions are really awesome once you start using them. They are exceptionally powerful although they look really difficult in the beginning. For the beginners I suggest that you visit a site like http://www.regular-expressions.info/ as they have many...
Well, now that I've given a very very basic overview of Javascript and where the script tags are put we can move on. As I said in my previous post, the <script> tag is put in head of your HTML document. There are also a few other places that you can enter javascript. If your default ClientSide script language is set to Javascript, you can enter javascript directly into HTML properties. Say for example you want to greet the user when the page loads: <html> <head> </head> <body...
http://www.w3.org/TR/REC-DOM-Level-1/ecma-script-language-binding.html The link above provides the complete ECMA Script binding for the Level 1 Document Object Model definitions. The page is broken up into HTML and Core DOM sections. For the HTML section will be the most useful, as it contains all the HTML controls and their properties. Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it!
Since I have been developing in ASP.Net full time since the beginning of this year I have decided to start writing some Javascript tutorials. My whole aim with this is to start getting more developers to use and understand Javascript. I'm going to start off very simple. Why would you want to use Javascripting? That's easy, when a user see's something happen quickly on a webapp he/she immediately thinks the application runs faster than anything else they've used and once the user starts thinking that...