-
AJAX Limitation
Last edited by kovo; 06-15-2009 at 04:29 PM.
Reason: google shows this
-
I've had similar problems too. Don't know of a workaround yet.
Last edited by WebGeek182; 03-14-2007 at 07:26 PM.
-
Solution to Lytebox problem with AJAX
Hi guys,
I was using Lytebox in one of my AJAX applications. The problem was that Lytebox gets initialized during page load. Since AJAX bypasses page load, the problem arises.
Solution to this is that when you load the content in Ajax response handler,
simply call the initLytebox(); function.
Your code will probably look like this...
function handleHttpResponse() {
if (http.readyState == 4) {
document.getElementById('ResultDiv').innerHTML = http.responseText;
// Following line is to initialize the Lytebox control after content display every time.
initLytebox();
}
}
----------------------------------------------------------------
Vikramjit R.Rai
http://www.vikramjits.com
Similar Threads
-
By ajaxtoday in forum AJAX
Replies: 3
Last Post: 04-11-2007, 01:40 AM
-
By LeProgrammeur in forum AJAX
Replies: 3
Last Post: 09-12-2006, 02:31 AM
-
Replies: 2
Last Post: 06-03-2006, 07:45 PM
-
Replies: 0
Last Post: 02-09-2006, 01:26 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks