1. Home
  2. Computing & Technology
  3. JavaScript
photo of Stephen Chapman
Stephen's JavaScript Blog

By Stephen Chapman, About.com Guide to JavaScript since 2004

Posting Values using JavaScript

Saturday December 13, 2008
While you need a server side language to read posted values, you can use JavaScript to write them.

You are probably aware that you can use either "get" or "post" when sending values from a form to the next page. You almost certainly know that you can place variables in the query string without needing a form (the form-less equivalent of "get"). Did you know though that you can easily convert any querystring reference in the links in your page so that they "post" the values instead just by using a simple JavaScript? Well you can.

Posting Values using JavaScript
Comments
May 23, 2009 at 3:28 am
(1) appealftwense says:

Hello, I want to say hi everyone.
test

September 6, 2009 at 8:50 pm
(2) Andy McFaul says:

New here. Wanted to say hello.
Thanks,

Andrew McFaul
Andy McFaul

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore JavaScript
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.