Cannot get setForm() to work in Connection Manager

Hi, My first (simple) attempt at using connection manager worked, so I know all urls etc are correct. However, when I tried to use the setForm() method my

Message 1 of 3
, Apr 30, 2006

0 Attachment

Hi,
My first (simple) attempt at using connection manager worked, so I
know all urls etc are correct. However, when I tried to use the
setForm() method my program would not work. It is just a simplificaion
of some stuff from this forum and the Yahoo example. Here it is:

Does anyone see anything wrong with this? When I click the button,
nothing happens.

Thanks.

Ron Lancaster

It looks like you re passing a form rather than the form s name. Try YAHOO.util.Connect.setForm(oForm.name); ... ...

Message 2 of 3
, Apr 30, 2006

0 Attachment

It looks like you're passing a form rather than the form's name. Try
YAHOO.util.Connect.setForm(oForm.name);

On Apr 30, 2006, at 12:52 PM, than505 wrote:

> Hi,
> My first (simple) attempt at using connection manager worked, so I
> know all urls etc are correct. However, when I tried to use the
> setForm() method my program would not work. It is just a simplificaion
> of some stuff from this forum and the Yahoo example. Here it is: