Web Design, Development & Marketing
acuras services: Website Design & Development E-commerce Solutions Content Management Systems Online Marketing & Social Media Corporate Branding Social Media Training
Get in touch... Email Us: info@acuras.co.uk
acuras blog:7 Quick Tips to Keep Your SEO On Track in 2012 7 Social Media & SEO Tactics Businesses Will Adopt in 2012 latest posts:We are now trading as a Limited company Recent Work: Digital Marketing Material and Website Re-Designs Affordable Web Hosting and Domain Name Registration New Acuras Logo Coming Soon... Barclaycard ePDQ CPI Integrations HSBC XML API / CPI E-commerce Integrations Photoshop to Valid XHTML/CSS Coding Service Recommended Open Source Invoicing System Reasons Businesses should Embrace the Web blog archive:
Web Development ArticlesJavaScript: Redirect to Specified Location or Page
Published: 12th Mar 2006
This script will redirect your browser to the specified location:
The above code will be executed as soon as the page it appears on is loaded. To be able to call a JavaScript command whenever you need it you can include it within a function as shown below:
You can then call this function from a button as shown below. The following form should be included anywhere in the body of the html document it appears in.
Related LinksRelated Articles / PostsJavascript Essentials - Date Pickers (Calendars) (03/03/2008) Javascript: Variations of the IF Statement (20/09/2006) Javascript / CSS: Flashing Text - How to do it - Why NOT to do it (16/09/2006) Code Editors (Syntax Highlighting) - Aptana, Crimson Editor, PHP Designer (14/08/2006) Web Dev News: Pro Ajax and PHP - Building Highly Interactive Applications (Book) (18/07/2006) |
||