What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » help with forms

help with forms
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: help with forms
code:
http.send ("numTelefone=000000"+"name=abcdefgh");
That won't work, since "a"+"b" simply gives "ab". POST-values should be separated with a & sign, so that line should be:
code:
http.send ("numTelefone=000000&name=abcdefgh");

EDIT: You don't need to open IE for this, the XMLHTTP object is made for this kind of situations! ;)
Don't forget to create a onstatuschange event!
code:
http.onreadystatechange = function() {
  if(http.readyState==4) {
    if(http.status == 200){
      //worked
      Debug("Yay! Success! Here's the returned HTML:");
      Debug.Trace(html.responseText);
    }else{
      //error
      Debug.Trace("Crap, something f*cked it up... You're sure you're not trying to run this on a Gameboy?");
    }
  }
}

This post was edited on 02-17-2007 at 03:22 PM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
02-17-2007 03:17 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
help with forms - by pmarcon on 02-17-2007 at 12:07 PM
RE: help with forms - by -dt- on 02-17-2007 at 12:12 PM
RE: help with forms - by pmarcon on 02-17-2007 at 12:19 PM
RE: help with forms - by pmarcon on 02-17-2007 at 03:17 PM
RE: help with forms - by Matti on 02-17-2007 at 03:17 PM
RE: help with forms - by pmarcon on 02-17-2007 at 04:06 PM
RE: help with forms - by TYL3R on 02-17-2007 at 08:05 PM
RE: help with forms - by felipEx on 02-17-2007 at 08:11 PM
RE: help with forms - by pmarcon on 02-17-2007 at 10:29 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On