That is sneaky ;-) It will be quite a long time before I give that portion of it a test. I am not ignoring your answer when I don't follow up on this post. I have moved on to another portion of the app for awhile and will get back to this portion later.
Kindest regards, Linda On Dec 18, 7:48 pm, brente <[email protected]> wrote: > There are two ways I can think of to do what I think you are trying to > do. > > 1. on the new DIV, just put in a <script>alert('yep');</script> > within the new DIV that you are linking to. > > 2. a sneaky and undocumented way could also be this: the img tag has > an onload attribute just like the body. use this with a 1x1 > transparent pixel shim. > <img src="" border="0" onload="alert('put your func instead of this > alert');"/> > > Let me know how that works. > > ~ brente > > On Dec 15, 9:01 pm, anmldr <[email protected]> wrote: > > > I am trying to use iUI but I have a question. On the first page, I > > have a long list of names. These names are linked to level 2 pages > > that are document fragments. Within these level 2 pages there will be > > 3 <div>s. I want to be able to use javascript for calculations in one > > of these divs. Since these are document fragments, there is no > > <head></head> section. Where do I reference or link to the javascript > > files for these level 2 pages? Should it all be in the page 1 <head></ > > head> section? > > > Thanks, > > Linda > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
