Unfortunately, when the user hit the back button in that piece of crap Internet Explorer, the queries would not fire. In all other browsers, the queries work fine when the back button is clicked, but not IE. As you probably already know, if an enterprise is using Sharepoint, then they are using IE as their standard browser. This issue was causing a ton of grief.
var find = new ESRI.ArcGIS.VE.Query(); find.Where="ATTRIBUTE='"+this.value.toUpperCase()+"'"; find.OutFields=["ATTRIBUTE,OTHER_ATTRIBUTE"]; var findTask = new ESRI.ArcGIS.VE.QueryTask(); //Have to append a random number to get this to work when back button is pressed findTask.Url=th.Url+"/3?_esi="+Math.floor(Math.random()*111); findTask.Execute(find,dojo.hitch(this,this.handleResults));
The "_esi=" is just a key I put in to know it was mine and is, likely, unnecessary. May not be the best solution (I bet Vish will skewer it) but it works. Anyway, this took a few hours away from my life, so I thought I'd post it here. Hope it helps someone else.