When click on button the page is focusing to top/ refreshing the page
HI, I have two buttons in list view, These two buttons will work as like accordion in listview. open (button) : opens the accordion (additional info) in listview close (button) : hide the accordion (additional info) in listview. these two will work based on flag. When click on “open button” calling a nanoflow on onClick event. name as “Nanflow1” this nanoflow contains changeObject. This changeObject is setting attribute as true. if the flag (attribute) is true it will show the accordion. if clicks on close button the flag will be false. and hide the accordion . ………… But problem is when click on button the page is focusing to top/ refreshing the page. Thanks in Advance.
Do not check the commit box in the nanoflow change action