Discussions
N/ui/dialog with HTML checkbox -- how to get value of the checkbox??
Hi guys,
I have a dialog that has a "Do not show this message again" checkbox, however, I cannot get the value of the checkbox when the dialog is gone (by clicking the Ok or Cancel button).
Do you guys have any idea how to get the checkbox value? I tried the onclick property however the client script cant seem to find my handleCB function.
fieldChanged function
dialog.confirm({
title: 'Alert alert!', message: 'Some message here <input type ="checkbox" id="_donotshowmsg" onclick="handleCB(this);">Do not show this message again</input>'});
Any help is appreciated!!