Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Dec 2005
    Posts
    25
    Thanks
    1
    Thanked 0 Times in 0 Posts

    posting to a aspx page

    hi all,

    i am trying to write a little program (desktop) program that will allow users post to a blog like website. i have found out javascript is the only way to do this.

    can someone, point me to a good tutorial on how to do this.

    -a8le
    Noteful.COM, read and share anonymous online secrets and confessions.

  • #2
    Senior Coder nikkiH's Avatar
    Join Date
    Jun 2005
    Location
    Near Chicago, IL, USA
    Posts
    1,973
    Thanks
    1
    Thanked 32 Times in 31 Posts
    Javascript is NOT the only way to do this. In fact, I can't think of a harder way to do this as a desktop app.

    If it's for Windows, anything that has a browser component that can make http requests will be fine.

    I'd use Java or .NET if I could. Fallback to VB6 or some such.

    If this post contains any code, I may or may not have tested it. It's probably just example code, so no getting knickers in a bunch over a typo, OK? If it doesn't have basic error checking in it, such as object detection or checking if objects are null before using them, put that in there. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
    Bored? Visit
    http://www.kaelisspace.com/

  • #3
    New Coder
    Join Date
    Dec 2005
    Posts
    25
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by nikkiH
    Javascript is NOT the only way to do this. In fact, I can't think of a harder way to do this as a desktop app.

    If it's for Windows, anything that has a browser component that can make http requests will be fine.

    I'd use Java or .NET if I could. Fallback to VB6 or some such.
    Hi nikkiH,

    Sorry I wasn't clear. The only way for my program to work is to use Javascript, because it interfaces with another program that only works with javascript.

    Do you still know any good tutorials that talk about posting to a website using javascript.

    I have actually "Googled" this topic for like half a day and only came up with simple javascript tutorials and/or a few javascript and php tutorials. I am trying to post data to an aspx page.

    -a8le
    Noteful.COM, read and share anonymous online secrets and confessions.

  • #4
    New Coder
    Join Date
    Dec 2005
    Posts
    25
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Unhappy

    Anyone? Someone? Please. I really just need a tutorial of some sort. -a8le
    Noteful.COM, read and share anonymous online secrets and confessions.

  • #5
    Senior Coder nikkiH's Avatar
    Join Date
    Jun 2005
    Location
    Near Chicago, IL, USA
    Posts
    1,973
    Thanks
    1
    Thanked 32 Times in 31 Posts
    You really can't POST using generic javascript alone.

    Google for AJAX. You'll get better results for what you're looking for. You still need something that can do http, though, since that's what POST is. Either a browser, a component, activeX, whatever.

    If this post contains any code, I may or may not have tested it. It's probably just example code, so no getting knickers in a bunch over a typo, OK? If it doesn't have basic error checking in it, such as object detection or checking if objects are null before using them, put that in there. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
    Bored? Visit
    http://www.kaelisspace.com/


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •