Perhaps because those examples are for WMLScript, not JavaScript?

cheers,
barneyb

On 1/1/07, Andrew Grosset <[EMAIL PROTECTED]> wrote:
> I can't understand why this produces the javascript error "String.insertAt is 
> not a function" (firefox), tried IE and opera to.
>
> <script type="text/javascript">
>   //example from http://www.webreference.com/js/column63/6.html.
>   var a = String.insertAt("Doc JavaScript is a leading source for JavaScript 
> tips", "site", 2, " ");
>                  alert(a);
> </script>
>
> Googled lots of examples of "String.insertAt" and all give the same error "is 
> not a function"
>
> any suggestions appreciated,
>
> Andrew.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265453
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to