title: Zend Framework 2 page reloads two times
body: <p>Every time I open a view page. I notice that ZF2 web page reloads two times. I can see it when I use javascript alert() function and it alerts two times, each time I refresh the web page. My problem is when I append option to form select element, one option is added twice because the web page is reloaded twice. How can I prevent the web page from reloading two times? Thank you in advanced. </p>