[thelist] IE7 Javascript - FF3 is fine, IE throws error

Chris Dempsey chris at gettheedgeonline.com
Wed Dec 10 02:30:41 CST 2008


Symeon - genius, thank you!  Can't believe I didn't see that...

Chris


-----Original Message-----
From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Symeon Charalabides
Sent: 09 December 2008 18:31
To: thelist at lists.evolt.org
Subject: Re: [thelist]IE7 Javascript - FF3 is fine, IE throws error

Hi Chriss,

Have you tried taking out the HTML comments in the middle of your JS code, i.e. the two lines:

-->
<!-- used for selecting email new/existing

I feel it may have something to do with them.

Cheers,

Symeon Charalabides (cosmopolite trainee)
-----------------------------------------
http://www.systasis.com


>  -------Original Message-------
>  From: Chris Dempsey <chris at gettheedgeonline.com>
>  Subject: [thelist] IE7 Javascript - FF3 is fine, IE throws error
>  Sent: 09 Dec '08 18:15
>  
>  Hi All,
>  
>  I have a small javascript that I want to show/hide an area depending on
>  what radio button a user selects:
>  
>  http://www.edgedevelopment.co.uk/tmp/myTickets.asp.htm
>  
>  It works fine in FF3 but IE7 throws an 'object expected' error.  I think
>  it has something to do with the getElementById calls and IE confusing
>  the name and id properties of the elements in question.
>  
>  Can anyone take a look at the page and suggest what I would need to do
>  to make this work in IE as well as FF?  I've spent a while on it and
>  with my limited knowledge of javascript have exhausted the Google line
>  of enquiry.
>  
>  Thanks,
>  
>  Chris
>  
>  ps. Please ignore the dodgy code layout, I've been messing with it
>  quickly while testing...
>  --
>  
>  * * Please support the community that supports you.  * *
>  http://evolt.org/help_support_evolt/
>  
>  For unsubscribe and other options, including the Tip Harvester
>  and archives of thelist go to: http://lists.evolt.org
>  Workers of the Web, evolt !
>  
-- 

* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 


More information about the thelist mailing list