Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. stompeers

    Arg! Trying to find a working example of Javascript On Demand, help!

    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...
  2. stompeers

    Arg! Trying to find a working example of Javascript On Demand, help!

    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
  3. stompeers

    Arg! Trying to find a working example of Javascript On Demand, help!

    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...
  4. stompeers

    Arg! Trying to find a working example of Javascript On Demand, help!

    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...
  5. stompeers

    Arg! Trying to find a working example of Javascript On Demand, help!

    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...
  6. stompeers

    Arg! Trying to find a working example of Javascript On Demand, help!

    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...

Part and Inventory Search

Back
Top