csakis
#1
Many times I see this method to attach an xml to a form or tab:
menu.loadXML("../common/dhxmenu.xml?etc=" + new Date().getTime()
I don’t understand why you need the date and time to do that and what the etc variable does?
Can someone explain?
Thanks
Darya
#2
Adding new date as parameter make browser think that there is a new request performed, this helps to prevent xml caching in different browsers.
csakis
#3
Thanks for the clarification.