inkswamp@hotmail.com (Rick) wrote in message news:<b5104d91.0405262251.333ab7b9@posting.google. com>...[color=blue]
> I wrote the following code as part of a page where users can reorder a
> list of items by highlighting an item in a list box and clicking an
> "up" or "down" button to move the items around. The code below is for
> the up and down buttons along with a reset button (which reloads the
> list as it was originally) and a change button which applies the
> changes. In Explorer and Safari for Mac, this code works flawlessly.
> When I tested on Explorer in Windows XP, the lines for the up, down
> and change buttons generated an "object expected" error. The code for
> the reset button worked fine.
>
>
> <input type="button" value="up"
> onClick="javascript
:moveSelection('up');" />
> <input type="button" value="down"
> onClick="javascript
:moveSelection('down');" />
>
> <input type="button" onClick="javascript
:window.location.reload();"
> value="reset" />
> <input type="button" onClick="javascript
:sendit();" value="change"
> />
>
>
> Barring a stupid oversight on my part (entirely within the realm of
> possibility) I'm wondering if anyone knows if there is an specific bug
> in Explorer XP that is causing this? Since the lines in question which
> generate the error are calling functions, I think it's reasonable to
> assume that's the issue. If so, is there a workaround or some
> alternate method that will avoid this problem?
>
> Thanks.
>
> --Rick[/color]
Probably an error in your moveSelectin routine, even though the
error may be stated as being in the calling statement.