Open the map using post code or whtever u want to use.
then paste this in ur browser location bar:
javascript:void(prompt('',gApplication.getMap().getCenter()));
http://lifehacker.com/267361/how-to-find-latitude-and-longitude
Open the map using post code or whtever u want to use.
then paste this in ur browser location bar:
javascript:void(prompt('',gApplication.getMap().getCenter()));
http://lifehacker.com/267361/how-to-find-latitude-and-longitude
document.createElement was working in all browsers other than FF.I changed this part
1: var newElement = document.createElement("<input name='"+elementName+"' id='" + elementName + "' type='hidden'>");
1: var newElement = document.createElement("input");
2: newElement.setAttribute('name',elementName);
3: newElement.setAttribute('id',elementName);
4: newElement.setAttribute('type','hidden');
http://www.dustindiaz.com/add-and-remove-html-elements-dynamically-with-javascript/
http://www.eggheadcafe.com/community/aspnet/3/41127/firefox-createelement--a.aspx
I know of some ways to do the above but this was really one of the simplest ways to do it.
http://usmanshabbir.blogspot.com/2009/10/simplest-way-to-call-server-side.html