Re: IE ignoring the anchor, Firefox ok
Re: IE ignoring the anchor, Firefox ok
- Subject: Re: IE ignoring the anchor, Firefox ok
- From: David LeBer <email@hidden>
- Date: Mon, 24 Mar 2008 14:17:03 -0400
On 24-Mar-08, at 12:40 PM, Baiss Eric Magnusson wrote:
I'm trying to fix the problem of IE never jumping to the called for
anchor and I get the following errors for every row in the table
from a BBEdit check syntax of the generated HTML.
Document type does not permit element “<a>” in content of element
“<input>”.
Close tag for element “</input>” omitted but document type doesn't
permit it.
It looks like you are using a strict doctype for you page.
What happens if you loosen the doctype?
WO prior to 5.4 did not generate xhtml compliant markup unless you
used Wonder.
The generated HTML is:
<td><input type="image" name="3.29.27.4.1" src="/images/
iconOrangeDown.gif"><a name="EditRow27"></a></td>
The <.wo> line is (inside a WORepetition):
<td><webobject name=UnOpenedTransBtn></webobject><webobject
name=AnchorOpenEdit></webobject></td>
The <input> tag of <UnOpenedTransBtn> is a WOImageButton with
<action> set and <src> set to </images/iconOrangeDown.gif>; and the
<a> tag of <AnchorOpenEdit> is generated from a <WOGenericContainer>
with an <elementName> and a <name> binding.
Hopefully if I can get rid of the HTML error the page will behave in
IE.
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden