Thank you,

I just did a more general search of the group ("iui JavaScript") and found
the following thread:

http://groups.google.com/group/iphonewebdev/browse_thread/thread/3f79306e62fd749c/709ee7f4c3c3e903?lnk=gst&q=iui+javascript#709ee7f4c3c3e903

Much nicer than my Prototype-folding technique, which I had working this
morning.

Thanks again!  (And +1 for this moving into the library proper.)

~Barry


On Fri, Apr 11, 2008 at 12:17 PM, Chew Yu Chou <[EMAIL PROTECTED]> wrote:

> There's a solution posted in the google group which involves some
> modification to the iui.js
>
> ________________________________
>
> From: iphonewebdev@googlegroups.com on behalf of Barry Hess
> Sent: Fri 4/11/2008 10:50 PM
> To: iphonewebdev@googlegroups.com
> Subject: JS on IUI slide
>
>
> First time poster - TIA for any responses. I'm wondering if someone has
> solved this issue before.
>
> I have some JS that needs to execute for certain screens. Essentially, I
> want to shove some dynamic select boxes in the DOM, so I plan to run the
> script at the bottom of the HTML to be inserted via IUI slide.
>
> As a proof of concept, I put the following at the bottom of a working
> slide-in IUI screen:
>
>  <script type="text/javascript">
>    alert("done");
>  </script>
>
> Unfortunately, this alert box doesn't appear on the iPhone or Safari 3.1
> on my Mac. It does appear when running the app through FF.
>
> Anyone solve this problem elegantly?  I'm hoping to avoid recreating
> Prototype's evalScripts-after-remote
> -update.
>
> Thanks,
> --
> Barry Hess
> http://blog.bjhess.com <http://blog.bjhess.com/>
> http://www.scrawlers.com <http://www.scrawlers.com/>
> http://getharvest.com <http://getharvest.com/>
>
>
>
> >
>


-- 
Barry Hess
http://blog.bjhess.com
http://www.scrawlers.com
http://getharvest.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to iphonewebdev@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to