DOCTYPE declaration for invalid page

Kevin Sullivan internet at mcpl.lib.mo.us
Thu Nov 2 12:02:54 EST 2000


Sorry, I didn't mention I was using ColdFusion's <cflocation> to pass
the URL to the browser. It looks at <cflocation
url="modify.cfm?id1=value1&amp;id2=value2##form"> (escaping the '#')and
passes two variables: id1 and amp;id2

Thanks,

Kevin Sullivan
Internet Systems Manager
Mid-Continent Public Library
http://www.mcpl.lib.mo.us
mailto:web at mcpl.lib.mo.us

Eric Hellman wrote:
> 
> Interesting. Perhaps the IE5/98 browser is confused by the bad syntax
> and decides to  encode the "#"
> 
> Did you try the syntactically correct code:
>   <a href="modify.cfm?id1=value1&amp;id2=value2#form">
> ?
> 
> Eric
> 
> At 7:48 AM -0800 11/2/00, Kevin Sullivan wrote:
> >This brings up another issue. When developing an interface for staff to
> >update a database, I was using a construction similar to the following
> >to pull up the appropriate record and drop them down to the next input
> >form:
> >
> >   <a href="modify.cfm?id1=value1&id2=value2#form">
> >
> >My test worked great on NN4 and IE5 on Win2K, but a coworker's IE5 on
> >Win98 was passing the value of id2 as value2#form (this was confirmed
> >using CF debug). The numeric value of id2 was safe, strangely, and the
> >correct record was retrieved; but, the browser would not honor the
> >anchor reference. So, I put in another ampersand to separate the anchor
> >definition:
> >
> >   <a href="modify.cfm?id1=value1&id2=value2&#form">
> >
> >Finally, all 4 browser/platform configurations were appeased. Any
> >thoughts?
> >
> >Thanks.
> >
> >Kevin Sullivan
> >Internet Systems Manager
> >Mid-Continent Public Library
> >http://www.mcpl.lib.mo.us
> >mailto:web at mcpl.lib.mo.us
> 
> Eric Hellman
> Openly Informatics, Inc.
> http://www.openly.com/           21st Century Information Infrastructure
> LinkBaton: Your Links that Learn     http://my.linkbaton.com/


More information about the Web4lib mailing list