I want to call a javasript function once a checkbox is checked and then enable a button in the function. How can I assign the javascript function to the check box event?
Thanks!
Ana_Developer
0
Newbie Poster
Recommended Answers
Jump to PostI assume this is an ASP.NET implementation using C#?
Here is an example of toggling on/off a button based on a checkbox.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="checkboxdemo.aspx.cs" Inherits="checkboxdemo" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.