you can't

firstly its pointing at a page outside of the framework, event.linkto() will
only generate links to events within the framework.  Secondly, bind syntax
is different to a standard url, with curly braces denoting variables to be
replaced by js at runtime.

theres nothing to stop you using event.linkto() to generate links to html
fragments or json/xml data as long as its an event within the framework.

for example, using jquery you could do something like..

Chris

 $("#counties").load("#event.linkto("ajax.counties")#");

2009/3/23 David Mineer <[email protected]>

> How would I use event.linkto() on the following CFDIV?
>
>
> <CFFORM>
>
> <CFSELECT name="areaid" id="areaid" query="areas" value="id" display=
> "name"/>
>
> </CFFORM>
>
> <CFDIV
> bind="url:county.cfm?areaid={areaid}"/>
>
>
> --
> David Mineer Jr
> ---------------------
> The critical ingredient is getting off your
> butt and doing something. It's as simple
> as that. A lot of people have ideas, but
> there are few who decide to do
> something about them now. Not
> tomorrow. Not next week. But today.
> The true entrepreneur is a doer.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to