Skip to content

Instantly share code, notes, and snippets.

@oguzhaneren
Created February 19, 2022 13:44
Show Gist options
  • Save oguzhaneren/d577af6ae16b82cae7d5202cbd2e32d2 to your computer and use it in GitHub Desktop.
Save oguzhaneren/d577af6ae16b82cae7d5202cbd2e32d2 to your computer and use it in GitHub Desktop.
test
$( document ).ready(function() {
console.log( "ready!" );
$("[class^='trigger_']").on('change', function () {
// Get CSS class list from the input parameter. Find the one with the 'trigger_' prefix,
// and use it to identify which 3D scene (iFrame) will be updated
var sceneName = null;
var $this = $(this);
console.log("clicked:")
console.log($this)
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment