Hello www-voice,
I am withdrawing the forwarded comment - I had forgotten about the ccxml
scope!
--
Chris Davis
Interact Incorporated R&D
512-502-9969x117
Forwarded message 1
Hello www-voice,
There is some bad javascript in 6_1.txml of
http://www.w3.org/Voice/2009/ccxml-irp/ccxml10-irp-20100331.zip
The segment of code that reads
<var name="counter" expr="0"/>
<script>
function next()
{
ccxml.counter = ccxml.counter + 1;
return ccxml.counter;
}
</script>
should be instead
<var name="counter" expr="0"/>
<script>
function next()
{
counter = counter + 1;
return counter;
}
</script>
The fact that ccxml is not a defined object before being referenced
causes the javascript to burst.
Thanks
--
Chris Davis
Interact Incorporated R&D
512-502-9969x117