I've been searching the Internet for a way to remove a site from IIS7 using JavaScript. I've found, and used, a lot of examples on how to create a site and applications using JavaScript but not a single example on how to delete a site!
I figured that since the .Net System.Configuration.ConfigurationElementCollection-class has a BaseRemoveAt()-method, then there should be a corresponding method in JavaScript, but I have not found any.
Do开发者_JS百科es anyone know how to remove a site from IIS7 using JavaScript?
Please help!
/Petteri
The method you were looking for is called DeleteElement
. See an example of its usage here.
精彩评论