imparator
10-13-2005, 01:36 AM
I have a XHTML + Voice form (below)
<form xmlns="http://www.w3.org/2001/vxml" id="sayHello">
<field name="browser">
<prompt>Please say the word "Randomise" to begin the game</prompt>
<option value="opera">Randomise</option>
<nomatch>Try again.</nomatch>
<filled>Thankyou, randomisation has begun.</filled>
</field>
</form>
and an event handler for the form:
ev:event="load" ev:handler="#sayHello"
I also have a JavaScript function called regen2() which i want to be executed after the form has been filled and "Thankyou, randomisation has begun." has been said
can anyone tell me how i can go about doing this?
Thankyou in advance.
<form xmlns="http://www.w3.org/2001/vxml" id="sayHello">
<field name="browser">
<prompt>Please say the word "Randomise" to begin the game</prompt>
<option value="opera">Randomise</option>
<nomatch>Try again.</nomatch>
<filled>Thankyou, randomisation has begun.</filled>
</field>
</form>
and an event handler for the form:
ev:event="load" ev:handler="#sayHello"
I also have a JavaScript function called regen2() which i want to be executed after the form has been filled and "Thankyou, randomisation has begun." has been said
can anyone tell me how i can go about doing this?
Thankyou in advance.