when I use $("#selectableServiceLevelListContainer").load(requestUrl + " #getServiceListResult", hwFamilyCodes) to get the returned html and javascript. html content can be returned correctly, but javascript is removed by jquery or ajax, I am not sure what caused this problem. any one can give me some advice?
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <div id="getServiceListResult"> hello <script type="text/javascript"> pspList= ${pspSearchResultList}; </script> world </div> i tried to use alert("have a nice day"); this is removed too without any warning alert. only "hello world" is displayed. and the source code of the page did not have expected javascript. -- gaohk --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---