Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

Javascript Change function with a Popup Permission field?

JayFogelson2
Contributor III

The following works to trigger an action, when the user permission field is a Dropdown format.  I'm having trouble getting it to work with a Values Popup box.  I've tried a few different variations using span and such, but nothing seems to work.

Thanks in advance for any suggestions!

 

<script type="text/javascript">
var userPermField = 20936;

Sys.Application.add_load(function() {
$('div[id*="f' + userPermField + 'c"]').change(function() {
alert("This is an alert");
});
});
</script>
2 REPLIES 2

JayFogelson2
Contributor III

Refreshing this... anyone have any thoughts on what I might be able to try?

$('div[id*="f' + userPermField + 'c_s"]')