Hello,
Just to complete the thread, I'm not sure if I did find a solution that I like to the problem, but it seems like a timeout might be the answer. I will be doing some experimenting with jQuery soon and it's possible that it provides something within the framework to accomplish what I'm...
Hello Monsnake,
I gave that a shot and the same thing happens. :(
These are some good ideas, I appreciate you sticking with this. Any other ideas?
Thanks!
Chris
Thanks, I appreciate it. In the article I posted that describes this pattern, it says:
START QUOTE
The callback function just needs to treat the response as plain-text and pass it to eval(). A warning: here again, asynchronicity rears its ugly head. You can't assume the new function will be...
Hi Monksnake,
I've tried that method before, and I just tried your code to double-check, and it doesn't work. The first time you click, it will give you an error because it doesn't load the external file in time to run the function inside it. By the second time you click, it has been loaded and...
Hello Dan,
I know that this kind of thing is possible, but I haven't found any code examples yet.
I'm not sure you quite understand my question, since Google doesn't have anything to do with the process. The way it would work is this:
1. On the original page, there is a function that will...
Hello there,
I'm trying to find a practical example of something that uses this pattern, which dynamically loads javascript into a page that has already been loaded:
http://72.14.253.104/search?q=cache:3K5QT816OGsJ:ajaxpatterns.org/On-Demand_Javascript
I have found numerous examples of this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.