No shit. The workaround is to not use either, and just invoke a function
that's protected:
<script type="text/javascript">
// <![CDATA[
function LVF1(v)
{
$('value').innerHTML = Math.floor(v);
}
function LVF2(request)
{
Effect.Highlight('tableRows');
}
function LVF3(request)
{
$('editor').hide();
}
// ]]>
</script>
On 11/26/07, Mike Schrag <mschra..dimension.com> wrote:
>
> So neither ' NOR ' work? That's really unfortunate ...
> On Nov 26, 2007, at 12:59 PM, Les Vogel wrote:
>
> It doesn't work at runtime. I thought it was OK as I was running some,
> but when I coded up a page using strict at the top, it didn't make it
> through WO's parser.
>
> On 11/26/07, Mike Schrag <mschra..dimension.com> wrote:
> >
> > > Sigh - Well, it doesn't always work. Argh! It is just passing
> > > ' as is, and complaining about '
> > >
> > > onclick="function (v) { $('value').innerHTML = Math.floor(v) }"
> > >
> > > I guess the only way to deal with this is to code this stuff in a
> > > way that only invokes functions w/o '', that's going to be fun.
> > Wait, do you mean it doesn't work at RUNTIME or it doesn't work in
> > WOLips (i.e. validator error). I've removed the validation error for
> > ' so that problem should go away in last night's build ...
> >
> > ms
> >
> >
>
>
> --
> Les Vogel
> 808 870-0418
>
>
>
-- Les Vogel 808 870-0418
This archive was generated by hypermail 2.0.0 : Mon Nov 26 2007 - 13:08:15 EST