This is a discussion on Check box pop up information?? within the JavaScript Programming forums, part of the Programming & Scripting category; Hi everyone, i have a checkbox on my form and wanted to display some information when the user check it, ...
| |||||||
|
#1
| |||
| |||
| Hi everyone, i have a checkbox on my form and wanted to display some information when the user check it, any idea how to do it please?? ![]() i tried to look for on line resources but could not find any of them.Thanks a lot in advance |
|
#2
| |||
| |||
| Hi, i manage to get this function Code: <html>
<head>
<script type="text/javascript">
function show_alert()
{
alert("Congratulations ........");
}
</script>
<head>
<script type="text/javascript">
![]() |
|
#3
| ||||
| ||||
| Quote:
I'm no expert but have something similar on a hre link on a few of my sites... try soemthing like this... Code: onClick="return confirm('WARNING: \n\nWhat ever your message is.')"
__________________ “There are two theories to argueing with women. Neither of them work! ” - Unknown |
|
#4
| |||
| |||
| Hi thanks for your reply, i tried this but nothing happened ![]() do you know what i am doing wrong??Code: <script type="text/javascript">
function show_alert()
{
onClick="return confirm('WARNING: \n\nWhat ever your message is.')"
}
</script>
</head>
<body>
<br><input type="checkbox" name="C1" value="ON" onclick="show_alert()" value="Show alert box" /></br>
|
|
#5
| ||||
| ||||
| Quote:
scrap the function as you shouldn't need that I don't think.. so just have this Code: <br><input type="checkbox" name="C1" value="ON" onClick="return confirm('WARNING: \n\nWhat ever your message is.')" value="Show alert box" /></br>
|
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hashing (Encryption) Password & Other Sensitive Information | BLaaaaaaaaaarche | ASP Code Samples | 5 | February 23rd, 2009 10:59 PM |
| How do I check the tag of a child? | bryceowen | JavaScript Programming | 4 | February 19th, 2009 02:01 PM |
| Check if integer or float! | micky | .Net Development | 23 | January 14th, 2009 05:20 AM |
| Database accessbility information | ramez75 | Microsoft Access | 7 | January 12th, 2009 09:52 PM |