Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-23-2005, 06:16 PM   PM User | #1
a8le
New Coder

 
Join Date: Dec 2005
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
a8le is an unknown quantity at this point
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.
a8le is offline   Reply With Quote
Old 12-23-2005, 08:20 PM   PM User | #2
nikkiH
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
nikkiH is on a distinguished road
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/
nikkiH is offline   Reply With Quote
Old 12-23-2005, 09:06 PM   PM User | #3
a8le
New Coder

 
Join Date: Dec 2005
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
a8le is an unknown quantity at this point
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.
a8le is offline   Reply With Quote
Old 12-26-2005, 12:17 AM   PM User | #4
a8le
New Coder

 
Join Date: Dec 2005
Posts: 25
Thanks: 1
Thanked 0 Times in 0 Posts
a8le is an unknown quantity at this point
Unhappy

Anyone? Someone? Please. I really just need a tutorial of some sort. -a8le
__________________
Noteful.COM, read and share anonymous online secrets and confessions.
a8le is offline   Reply With Quote
Old 12-27-2005, 02:27 PM   PM User | #5
nikkiH
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
nikkiH is on a distinguished road
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/
nikkiH is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:40 PM.


Advertisement
Log in to turn off these ads.