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
I put a test page here:
http://www.macrodate.com/test/test1.cfm
Andrew.
~|
Create robust enterprise, web RIAs.
Upgrade integrate Adobe Coldfusion MX7 with Flex 2
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
Andrew Grosset wrote:
//example from http://www.webreference.com/js/column63/6.html.
According to this link, this is an example for WMLScript, a variation of
javascript for use with wireless devices. I don't see a insertAt method
in another reference on javascript...
Jim,
Thanks for pointing that out(WMLScript), is there a way to insert a string
within another using javascript?
Andrew
Andrew Grosset wrote:
//example from http://www.webreference.com/js/column63/6.html.
According to this link, this is an example for WMLScript, a variation of
javascript
Andrew Grosset wrote:
Jim,
Thanks for pointing that out(WMLScript), is there a way to insert a string
within another using javascript?
Andrew
Not something I've done before, so this isn't tested well or anything...
script
function insertAt(s,i,l){
return
Thanks Jim,
that works perfectly! the revised test can be seen here:
http://www.macrodate.com/test/test1.cfm
Andrew.
~|
Create robust enterprise, web RIAs.
Upgrade integrate Adobe Coldfusion MX7 with Flex 2
7 matches
Mail list logo