Trying to understand webView:back()

I’ve been going through the documentation on the site, and trying to wrap my head around how to do what I need to do.
Issue:
I am trying to link webView:back() to a button so I can go back to a previous page in the native.newWebView window. Unfortunately, I can not for the life of me right now figure out how to even start doing this. I know I’m missing something here…

The example in the blog show two different address being pulled at the beginning, and going forward and back between them.

local webview = native.newWebView( 0, 0, 320, 240 )  
webview:request( "http://www.anscamobile.com" )  
webview:request( "http://www.google.com" )  
webview:back() -- goes back to www.anscamobile.com  
webview:forward() -- goes forward to www.google.com  

The documentation page just says to use webView:back() to go back to a previous page.

webView:back()
Takes the webView back one step in the webView’s history.

Can anyone point me in the right direction for doing this?
Thanks. [import]uid: 7710 topic_id: 21975 reply_id: 321975[/import]

[lua]local webView = native.newWebView(0,0,320,480)
webView:request(“www.google.com”)

local back = display.newImage(“back.png”)

local function backtap()
webView:back()
end

back:addEventListener(“tap”,backtap)[/lua]

that should do it [import]uid: 24641 topic_id: 21975 reply_id: 87372[/import]

Thanks mdcapps! That was a great help. [import]uid: 7710 topic_id: 21975 reply_id: 87764[/import]