You need to sign in to do that
Don't have an account?
Gaurav Shukla Cloudsteer Tech
Get a Domain
function getDomain()
{
document.getElementById('company').value=document.domain;
}
This is For Checking Domain ........
Gaurav Shukla
CloudSteer Technology Pvt Ltd.
I am not sure exactly what you are trying to do here, but check out the System.URL class in Summer 11 for accessing the instance url of your org:
http://blog.sforce.com/sforce/2011/05/one-of-the-trends-i-have-noticed-in-the-past-few-releases-is-an-even-greater-emphasis-on-openness-on-the-forcecom-platform.html