Answer the question
In order to leave comments, you need to log in
Yii change header text on link click?
when you click on a tree element, a frame is loaded by Ajax. the entire page does not reload. how can i use js in controller to change navbar text?
Answer the question
In order to leave comments, you need to log in
add the following JS to the tree view
$('tree_element_selector').click(function(){ $('header_text_selector').text('new header text') });
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question