Assuming your options are a link, here is one idea: <a href="/send" id="send-article1" class="send-friend">send to a friend</a> <a href="/more" id="more-article1" class="more-information">more information</a>
<a href="/send" id="send-article2" class="send-friend">send to a friend</a> <a href="/more" id="more-article2" class="more-information">more information</a> $(document).ready(function () { $(".send-friend").click(function (e) { e.preventDefault(); // load send to a friend form and use article value from $ (this).attr("id") }); $(".more-information").click(function (e) { e.preventDefault(); // load more information form and use article value from $ (this).attr("id") }); }); If that isn't what you looking for, let me know and provide more information, if you can. -Eric On Nov 10, 7:47 am, Xtophe <[EMAIL PROTECTED]> wrote: > Hi, > > I've a small question. > > My page containes a list of articles. For each article, I've some > options. > > One of this option is "send to a friend" and an other one is "more > information". > > Each option use the SimpleModal form. > > 1) I've a problem : how can I associate a different form for each > button? > 2) how can I send a variable to this form? > > Many thanks for your help. > > Regards, Christophe