Hello everybody! Please, help.
I have a this kind of jsp pages with its content **********<!--index.jsp-->************** <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript" src="js/jquery-latest.pack.js"></ script> <script type="text/javascript" src="js/actionprocessor.js"></script> </head> <body> Please register <div id="idContentContainer"></div> </body> </html> *******end of index.jsp***************** **********<!--actionprocessor.js-->************** $(document).ready(function(){ $("a#idMenuRef").click(function(){ $("div#idContentContainer").load("usrreg.jsp"); }); $("#LicenseRefID").click(function(){ // it doesn't work on child page :( $("#LicenseTextID").show(); }); }); // (document).ready **end of actionprocessor.js*********************** **********<!--usrreg.jsp-->************** <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <div id="LicenseTextID"> <p> Sometext....</p> </div> **********<!--usrreg.jsp-->************** Problem description: I have a to jsp pages: parent page and child page. I want to download child file's content into div box on parent page.It should work like frame or iframe. For this I used this kind of code: $("a#idMenuRef").click(function(){ $("div#idContentContainer").load("usrreg.jsp"); }); It's not working fully. I can see the html content, but javascript on parent page doesn't applied to child page's content! Question: why?? I tried to include js files into usrreg file directly: <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <script type="text/javascript" src="js/jquery-latest.pack.js"></ script> <script type="text/javascript" src="js/actionprocessor.js"></script> <div id="LicenseTextID"> <p> Sometext....</p> </div> And it works on Opera and Mozilla firefox! but it doesn't work on IE :(( What's going on? Maybe somebody can offer another way of doing this? Any help will be appreciated, Seytek Kurmanov