Go Around The Tech Corner…

Archive for the ‘JavaScript’ Category

JS Tip 5: How to Redirect Pages using JavaScript

Posted by: Millie Patel on: December 5, 2009

You can use JavaScript code to redirect user to a page you want. For instance, when a user tries points his/her address bar to http://mywebsite.com, you can have that page automatically redirected to http://www.mywebsite.com using only one line of JavaScript code! All you need to do is to paste the following code in the <head> [...]

JS Tip 4: How to change background colors with JavaScript

Posted by: Millie Patel on: November 24, 2009

You can use JavaScript commands with the onClick parameter in the input tags of an html form. Wow! That sounds like a complicated line eh? Lol…so it very easy to have the background color of a page changed on the click of a button. Just read the script below – it’s fairly easy to understand: [...]

JS Tip 3: How to display the date and time using JavaScript

Posted by: Millie Patel on: November 8, 2009

This is a very simple one. JavaScript has inbuilt functions that you just include in your code. See the snippet below: <html> <title>Time & Date Display</title> <head> <script language = “JavaScript”> var today = new Date() document.write(today); </script> </head> <body> Displaying Time Using JavaScript </body> </html> That’s just about it. You declare a variable called [...]

JS Tip 2: How to collect data from forms

Posted by: Millie Patel on: October 27, 2009

On my previous post about how to display alert messages, you’ll see that the messages are specified in quotes within the script. What if you wanted to display user-generated data on the alerts which pop up? How would you do that? You have to first display a form through which you will collect some information. [...]

JS Tip 1: How to display alert messages in JavaScript

Posted by: Millie Patel on: October 20, 2009

Often you’ll see messages popping up to alert you about something or to give you extra information on something. These can be programmed using JavaScript and it’s very simple. See the code below – It’s easy to understand. <html> <head> <title>Displaying Alerts with JavaScript</title> <script language = “JavaScript”> <!– function m_alert() { alert(‘Do not Click..!!!’); [...]


Me – The author of this blog!


This is my tech blog. I got another blog, full of jokes that will crack u up! http://humoraddict.blogspot.com

Follow milliepatel84 on Twitter

Tweet Tweet…!!!!

Blog Stats

  • 41,398 hits
http://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swfhttp://www.box.net/static/flash/widget_player.swf

Flickr Photos

More Photos
Follow

Get every new post delivered to your Inbox.