Hi,
function AssignValueOnCheckboxTick(RouteId, StopNo, totemps, tripid, triptype)
{
if (document.getElementById(RouteId).checked == true)
{
if (triptype == 'P' && StopNo == 1)
{
if ( window.confirm("Do you want to display second employee locality?"))
{
}
else
{
}
}
}
}
my problem is i want to display yes or no instead of ok cancel .please suggest solution.
Regards,
Balu reddy
Java script confirm with yes or no
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Satyapriya NayakRank #47 · 31.5K reputationPosted Feb 16, 2012, 8:43 PM EST
Try this...
Thanks
Suthish NairRank #92 · 22.8K reputationPosted Feb 19, 2012, 9:36 AM EST
BaluReddy, Using Javascript it's not possible. You need to use jQuery...
SenthilkumarRank #387 · 6.5K reputationPosted Feb 27, 2012, 10:17 PM EST
We need to use any external javascript library.
I would suggest you to implement your own control... place some control... set the z-index and use your javascript....