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 5 2696 in******@hotmail.com (Rick) wrote in message news:<b5**************************@posting.google. com>... 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
Probably an error in your moveSelectin routine, even though the
error may be stated as being in the calling statement.
In article <d3**************************@posting.google.com >, bruce
<br*************@glic.com> wrote: Probably an error in your moveSelectin routine, even though the error may be stated as being in the calling statement.
It also happens with the call to sendit() so that threw me off. I
wonder if I'm doing something at the start of both of those routines
that's causing IE on XP to choke. It's probably what's happening. I'll
look into it. Thanks.
Damn frustrating that IE on the Mac and XP have apparently different
implementations of Javascript.
On Thu, 27 May 2004 20:42:55 GMT, zurg wrote: Damn frustrating that IE on the Mac and XP have apparently different implementations of Javascript.
add, HTML, CSS, Java..
IE is a bottomless pit of woe for
web designers. Not only does it
break standards to which MS contributed,
but each IE implementation seems to break
them in subtly different ways. :-/
--
Andrew Thompson http://www.PhySci.org/ Open-source software suite http://www.PhySci.org/codes/ Web & IT Help http://www.1point1C.org/ Science & Technology
Andrew Thompson <Se********@www.invalid> wrote in message news:<1b*******************************@40tude.net >... On Thu, 27 May 2004 20:42:55 GMT, zurg wrote:
Damn frustrating that IE on the Mac and XP have apparently different implementations of Javascript.
add, HTML, CSS, Java..
IE is a bottomless pit of woe for web designers. Not only does it break standards to which MS contributed, but each IE implementation seems to break them in subtly different ways. :-/
I beg to disagree. We have found IE to be the most consistent and
backwards-compatible of the browsers. We long ago discarded Netscape
as an option, due to the fact that each subsequent release seemed to
break all our code.
bruce said: Andrew Thompson <Se********@www.invalid> wrote in message news:<1b*******************************@40tude.ne t>... On Thu, 27 May 2004 20:42:55 GMT, zurg wrote:
> Damn frustrating that IE on the Mac and XP have apparently different > implementations of Javascript.
add, HTML, CSS, Java..
IE is a bottomless pit of woe for web designers. Not only does it break standards to which MS contributed, but each IE implementation seems to break them in subtly different ways. :-/
I beg to disagree. We have found IE to be the most consistent and backwards-compatible of the browsers. We long ago discarded Netscape as an option, due to the fact that each subsequent release seemed to break all our code.
Netscape 4 was written before the standard was finalized, so the
upgrade from 4 to 6 was a significant change, and a significant
improvement. If you discarded Netscape because of that, you've
made a horrible mistake.
Favoring backwards-compatibility over progress is a trap. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: guest |
last post by:
I'm using window.open and as soon as I click on the link to open the ne
window, my original page content is replaced with ''.
<...
|
by: Chuck Martin |
last post by:
I am having a most frustrating problem that references, web searches,
and other resources are no help so far in solving. Basically, I'm trying
to design a pop-up window to be called with a funciton...
|
by: Tim Johnson |
last post by:
Hello All:
I would like to expand upon the typeof operator.
Using 'typeof' I can distinguish between string and
array for instance, because typeof returns "object" for
array.
How can I...
|
by: Jon |
last post by:
I'm learning about datatables. When using the example provided by MS in the
..NET Framework Class Library for DATATABLE (see below) I get an error on line
3 that says "Type expected". Is something...
|
by: Kiyomi |
last post by:
Hello,
I am trying to replace my alert message box with a popup page.
In my page behind,
|
by: bill |
last post by:
I keep getting Object reference not set to an instance of an object error when trying to run my application on an installed client machine. I installed it on several others and it runs fine.
I...
|
by: Steve Chapel |
last post by:
When I load the page
<https://bugzilla.mozilla.org/attachment.cgi?id=237739with Internet
Explorer 7 RC 1, I get the error "Object Expected" at line 174. When I
click on the button, I also get the...
|
by: loserdude84 |
last post by:
Hi I keep getting the good old error 'Object Expected Error' on a site I recently built. I am really struggling with this one.
Object Expected Error
Line 66
<div...
|
by: jman |
last post by:
i'm getting an "object expected" error in ie - not ff.
in the BODY onload attribute i call a function that's
loaded from an external file.
i've narrowed the error down to the fact it cannot...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |