i have this example:
<script>
$('.myvideos').live('click', function() {
$('#myvideos').trigger('click');
var ide = '123';
function ajax_request() {
$('#placeholder').load("test.php?id=ide");
}
});
</script>
how can i trigger the ajax_request function after $('#myvideos').trigger('click'); happens and pass the ide var to load link?
any ideas? thanks