I'm still new to jQuery and stuck trying to figure this one out, hope someone can help. I have this jQuery code that needs to pass different values depending on the clicked element. Each element created has a unique number in it's ID (which is needed). If I manually change the jQuery code to a specific ID and call, for example:\[code\]http://mysite/examplepost?effect=113\[/code\]This will work. But I need to have $('#div- ...different numbers here...') to be able to handle multiple elements on the same page. I already have the PHP side producing different values using:\[code\]if($_GET['effect'] == $id){\[/code\]I just need this to work with ajax so that it doesn't reload the page.Example:\[code\]$('#div-113').on('click', function() { var dataString = 'effect=113'; jQuery.ajax( { type:'GET', url:'?', data: dataString, success: function(data){ alert('Works'); } } ); });\[/code\]Any help would be appreciated.