Javascript exception: encodeUri is undefined
<p>Right now I'm trying to use <strong>encodeUri()</strong> in on of my scripts, but receive the exception in topic.
The value passed to <strong>encodeUri()</strong> is valid and it happens in different (latest) browsers.</p>

<p>Anyone got an idea why it's even possible to receive an "undefined" exception for <strong>encodeUri()</strong>?</p>

<p>Btw. it's the same with <strong>encodeUriComponent()</strong>. Only <strong>escape()</strong> throws no exception.</p>

<p>Any help is really appreciated</p>

<p>Cheers,
Tom</p>