passing data

Hello. I need some help with this:

I have a link to open a modal window: <%= link_to instruct.instruction.name, “#myModal”, :data => {:toggle => “modal”, :id => instruct.id}, :class=> “openModal”%>

and a coffeescript $(“.modal-body #result”).html $(this).data(“id”)

Shows me the result in the html: So far so good.

But what I want is to give the value of the id to this Instruction.find( value in here)

How?

Thanks for advise