This works fine. In my case it was length-3, but this is because my "home" 
page is in fact one level after the real home page: user is asked there to 
login, afterwards his/her top page remains at the "login sucessful" level<.
 

Le mercredi 22 février 2012 16:04:08 UTC+1, Remi Grumeau a écrit :

> Hi Bernard,
>
> As a quick answer, I would suggest:
> history.go(-(history.length-1))
>
> but it probably needs some more testing...
>
>
> Remi
>
>
> On Wed, Feb 22, 2012 at 2:37 PM, Fibo <[email protected]> wrote:
>
>> After some form validation, I want to return to the main page of the
>> app with no "backbutton" in the toolbar. This is probably written in
>> the doc... but I can't find it and my trial and errors just fail to
>> get this working.
>> Any idea or suggestion?
>>
>> --
>> 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.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/iphonewebdev/-/ySgIjsjrTd4J.
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