Code2Design.com

User login

The Layout

Programming

Graphic Design

Resources

Navigation

C2D Projects

Unsystematic Affiliates

The-Tutorials DNSandIP Learn PHP Free phpBB 

Change Language

Who's online

There are currently 0 users and 10 guests online.

Help with JavaScript history.back...

Why dosn't this work?

<script language="javascript">
function done(){
history.back();
}</script>
<form>
<input type="button" value="test" onclick="done();" />
</form>


Submitted by Alxandr on January 31, 2007 - 7:42pm.
printer friendly version

Sorry....

Sorry, found the error... It was at another place...
Alxandr


Print a page

While we are on this subject...
I found this simple code to print a page:

<form>
<input type="button" value="Print This Page" onClick="window.print()" />
</form>

Simple huh?


Thnx!

Yeah! Realy is! Thnx!

Alxandr


Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <br> <br /> <h3>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use BBCode tags in the text, URLs will be automatically converted to links
More information about formatting options



Like what you see?

Why not add more? C2D is looking for other Christian Web Masters who would like to help write articles for this site. If you have expericance in FLASH, CSS/HTML, PHP/MySQL, PhotoShop/GIMP, Blender, Javascript, or just General Design - our users would love to hear what you have to say. Contact Us

delicious   digg   reddit   magnoliacom   newsvine   furl   google   yahoo   technorati