brendanlefavre
asked on
disclaimer box
I'm looking for a script that will display a box with a disclaimer, and a check box that will enable an okay button. This will be run from an .aspx page.
Cheers,
brendan
Cheers,
brendan
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The dialog works, and is fairly straight forward to implement. One question, what would be the best way to implement a check to see if the user has accepted the agreement during the current session?
Cheers,
Brendan
Cheers,
Brendan
ASKER
easy to implement, and it works
Thanks for the points!
im thinking... a div positioned ontop of the rest of the pages content... fixed.. so it scrolls with scrolling.. then a
<input type="button" disabled="disabled" id="accept" value="ok" /> // yeah i know the button is correct but you get the idea
add a checkbox
$("#checkbox").click(funct
if ($(this).is(":checked")){
$("#accept").attr("disable
} else {
$("#accept").attr("disable
}
});
so basicaly if you click on the checkbox and its checked it will enable the button.. if not then it disables it.