Can you post your ajax call?  Ultimately, the code you provided should be
put in the call back to the ajax call.

On 8/22/07, electroteque <[EMAIL PROTECTED]> wrote:
>
>
> Hi there, im having issues binding a click to links displayed after an
> ajax call into a layer.
>
> Here is what I have so far
>
>         $("#content a.view").click(function(event) {
>                 alert(this.href);
>                 return false;
>         });
>
>
> <div id="content">
>
> </div>
>
> links in the ajax content is <a class="view" href="/path"> </a>
>
> After the ajax call, the links are not within the div, using firebug,
> everything is added into innerHTML, I cannot get to these at all, so
> the click wont work.
>
> I literally searched everywhere, the docs are failing to give such an
> important example because im sure many use it, or need to use it this
> way.
>
> Any ideas ?
>
>


-- 
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com

Reply via email to