how to disable a script in other script ?

I tried in this way (in javascript):
GameObject.Find(“webpage1”).GetComponent(“WebViewTexture”).eanbled=false;

the error:eanbled’ is not a member of ‘UnityEngine.Component’

how can I fix it?thanks…

P.S:
webpage1 is a gameobject(plane)
WebViewTexture is a C# script.

You spelt “enabled” incorrectly.
If it still doesn’t work, then try removing the quotation mark around WebViewTexture

You can use this to remove de Script attached —>

ObjectName.Destroy (GetComponent (ScriptName));