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.
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/
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.
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/