[jQuery] JQuery + ASP .NET Issue

2008-06-27 Thread jebberwocky
Hello all I am new at JQuery. But, I have to say it is so kool to use. I try to add the JQuery validate to my C# Page. code as following: I copy most of code from http://docs.jquery.com/Plugins/Validation/Methods/email#toptions http://www.w3.org/1999/xhtml";> Untitled Page

[jQuery] Re: How do I add click event to Ajax result?

2008-06-25 Thread jebberwocky
on(data){$("#foo").html(data).find(".clickable").click(function(){ > > // Do onclick stuff here > > }); > > > - jake > > > On Wed, Jun 25, 2008 at 6:51 AM, jebberwocky <[EMAIL PROTECTED]> wrote: > > >> hello all > > >> I

[jQuery] How do I add click event to Ajax result?

2008-06-25 Thread jebberwocky
hello all I have a js code as: $(document).ready(function() { $(".menu-item2").click(function(){ $.get("/foo" ,{cate:$(this).attr("name")}, function(data){$("#foo").html(data); <== data = "" });}); }); and html: the question is how do

[jQuery] How to add event to $.get() result?

2008-06-25 Thread jebberwocky
Hello all I have following: $(document).ready(function() { ... $(".bar").click(function(){ $.get("/foo" ,{foo:$(this).attr("test")}, function(data){$("#bar").html(data); // data = }); }); ... } and html: It works fine at first! But, after the $.get(...). the o