simplest way is to use it like this: html :
<a href="page/to/load/loadinfo.php?var=val&foo=bar" class="jqModal">Load the page</a> then initiate your jqmodal like this: javascript: $(document).ready(function(){ $(.jqm({trigger: 'a.jqModal',ajax:'@href'}); }); HTH alexandre On Mon, Dec 22, 2008 at 8:49 AM, <strangevoi...@gmail.com> wrote: > > Hi, > I was wondering if someone could help me with the jqModal plugin > (http://dev.iceburg.net/jquery/jqModal/). > Basically, I want to pass some GET data when calling an AJAX link for > the modal box but am not sure how to do it. > > My setup for the modal box is: > $('#jInfo').jqm({ajax: 'loadinfo.php', trigger: 'false'}); > > And I'm calling it through a function: > function(t) { > $('#jInfo').jqmShow(); > } > > And I would like to have it call something like: > loadinfo.php?id=t (where 't' is the function variable) > > Any help much appreciated > Cheers, > Sean > > >