[jQuery] Re: document Ready function in the Ajax Response

2008-11-11 Thread Alexandre Plennevaux
instead of loading script, use the livequery plugin: http://brandonaaron.net/docs/livequery/ On Tue, Nov 11, 2008 at 12:54 PM, David Wu <[EMAIL PROTECTED]> wrote: > could you pose some of your code? > > On Tue, Nov 11, 2008 at 6:30 PM, ravithokala <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >>

[jQuery] Re: document Ready function in the Ajax Response

2008-11-11 Thread David Wu
could you pose some of your code? On Tue, Nov 11, 2008 at 6:30 PM, ravithokala <[EMAIL PROTECTED]> wrote: > > Hi, > >I have an issue with document.ready. > > I have a page which will make an ajax call. The response on the ajax > call contains script which contains document.ready. The content

[jQuery] Re: document Ready function in the Ajax Response

2008-11-11 Thread ravithokala
>From index.jsp i am calling datePicker.jsp through ajax. index.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <[EMAIL PROTECTED] uri="/struts-tags" prefix="s"%> Date Picker $(document).ready(function() { $("select").change(f

[jQuery] Re: document Ready function in the Ajax Response

2008-11-12 Thread ravithokala
Sorry for the last reply.. Example below, when run FF3 will alert message "In Index" will only appear and on IE7 will alert "In Index" and also "In Ajax Response" code. index.jsp $(document).ready(function() { alert("In Index"); $.ajax({