Results 1 to 6 of 6
  1. #1

    Default Javascript : How to POST variable using JS


    How to POST variable using JS and JS alone...


  2. #2

    Default Re: Javascript : How to POST variable using JS

    http://www.webmasterworld.com/forum91/3926.htm


    I hope that answer your question.

  3. #3

    Default Re: Javascript : How to POST variable using JS

    tnx

  4. #4

    Default Re: Javascript : How to POST variable using JS

    var newvar = document.createElement('input');
    newvar.setAttribute('name','var_name');
    newvar.setAttribute('type','text');
    newvar.setAttribute('value','aasdkjfasldfjl1231231 23123sdflk');
    document.form_name.appendChild(newvar);

    document.form_name.method = "post";
    document.form_name.submit();

    Warning, this code is untested.
    But the idea is there.

  5. #5

    Default Re: Javascript : How to POST variable using JS

    cool! tnx coldfusion!

  6. #6

    Default Re: Javascript : How to POST variable using JS

    You're welcome!

  7.    Advertisement

Similar Threads

 
  1. how to post pics here pls help!!!
    By popcorn in forum Gizmos & Gadgets (Old)
    Replies: 3
    Last Post: 06-03-2009, 05:29 PM
  2. How to Post a Picture? step-by-step guide v1.1
    By markyap in forum Photography
    Replies: 4
    Last Post: 11-02-2006, 04:11 AM
  3. How to block sites using no www. prefix instead http://
    By Freeza in forum Networking & Internet
    Replies: 17
    Last Post: 07-21-2006, 09:19 PM
  4. how to post picture?
    By chercomengineer in forum Software & Games (Old)
    Replies: 1
    Last Post: 05-30-2006, 08:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top