I am trying to figure out a way to do the following:
I want to make an action which will be loaded through ajax and also its the internal part of the page when page is reloaded.
I know this in ZEND
framework by using View Helper, But don't know how to do in Kohana
I am new to Kohana.
EDIT: Example of what I am trying to do http://www.espncricinfo.com/west-indies-v-india-2011/engine/current/match/489228.html?CMP=chrome
In above webpage when the whole web page is loaded the live score board is loaded with it. But when u click on "Refresh scoreboard" button only the live score board is replaced through ajax.
I want to create an action say action_scoreboard
which will be used to bring scoreboard data. And action_index
to load the whole page, but while in the view of action_index
i need to call action_scoreboard
.
Thanks