Ok, I have used up all options...no one I know can help me (or feels like helping
me)with the absolutely easiest javascript question there is. I have coded this in the
past...but am rusty. It is the absolutely most frustrating problem I've ever had. I
simply want to put up a confirm box when the user clicks a radio button. The box
should say "Are you sure you want to decline this loan?" then when they click cancel,
it will close the window (and I'd like it to also change the radio button but that may
be asking too much). When they click "OK", it should submit the form. So easy..but I
just can't do it. Here is my latest version (and there have been many many versions
over the past two days).
function areYouSure(form) {
confirm("Are you sure?");
if return.true {
form.submit();
}
}
And, in the form:
<INPUT type="radio" name="request" value="declined" onClick="areYouSure()">
You can laugh, but please don't be too mean. I don't know what is wrong with me and
why I can't even find this on the web!! This is a coldfusion template...sorry it's
just a javascript question.
If possible, write me at [EMAIL PROTECTED] I can wait for the digest but I may
have throw my computer out the window by then.
Thanks,
Kim
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists