I have the following code in javascript:
buttons: [{
text: 'Yes',
handler: function()
{
answer = 'true';
w.close();
}
},{
text: 'No',
Handler: function()
{
answer = 'false';
w.close();
}
}]
But only the button labelled 'yes' responds. Any Ideas?
James
Misspelt 'handler' as 'Handler'. Silly syntax error!