Rob,

Thanks for the link.

I actually need it to automatically load.

I've tried response.redirect (I'm working in ASP) and it loads within the
DIV.

I've tried location.href and window.open from the JavaScript side and they
don't seem to do anything.

I guess if all else fails I can response.redirect to a page that says "click
here" or something, but it adds an extra step to the user.

Jim


> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Rob
> Sent: Thursday, July 26, 2007 11:22 AM
> To: iPhoneWebDev
> Subject: Re: Load an entirely new page
> 
> 
> 
> Can you use target="_self" as explained on this page: 
> http://www.joehewitt.com/blog/introducing_iui.php
> 
> Or am I misunderstanding your question?
> 
> 
> 
> On Jul 25, 9:51 pm, "Jim Coates" <[EMAIL PROTECTED]> wrote:
> > Hey all,
> >
> > I've got a scenario where some code is processed as part of an AJAX 
> > call for an iPhone app I am working on.
> >
> > This page would normally return text (which is inside of a DIV 
> > container), but under certain circumstances I need it to be able to 
> > redirect the entire web site.
> >
> > I can't seem to figure out how to make this work.
> >
> > Here's the basic idea:
> >
> > MAIN PAGE calls SECOND PAGE via AJAX and loads inside of a div
> >
> > As second page is loading, it is checking criteria for the user. If 
> > there is an error with the criteria, I want to redirect the entire 
> > site to what equates to a log in page for the user.
> >
> > Any ideas?
> >
> > Thanks,
> > Jim Coates
> 
> 
> > 


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

Reply via email to