jquery disable controls and alert on click
<p>I have an asp.net 4.0 page using jquery and jquery UI and ajax.</p>

<p>Problem: The page may be displaying a data where the record is flagged as non-editable (in code, not from a SQL Server db record state). FYI: The page would be flagged at the time it is loaded from the server, not based on some user input.</p>

<p>When flagged as non-editable I need to do a number of things to the page.</p>

<p>Disable a number of select and text inputs and buttons.</p>

<p>When the user attempts to edit (or clicks) those controls I need to display an alert.</p>

<p>Can someone help me with the slickest way to accomplish this?</p>

<p>Would I just apply a class to all those controls and then have jquery events tied to the class?</p>
