[SWFObject] addVariable

Geoff Stearns geoff at deconcept.com
Fri Jul 21 09:57:07 PDT 2006


you can also use escape() or encodeURICompoenent() which will convert  
the 'special' characters to the %XX version for you.



On Jul 21, 2006, at 3:16 AM, Daniel Klein wrote:

> Hi Marc,
>
> Use %26 instead of &
>
> Cheers
>
> Daniel
>
> On Fri, 21 Jul 2006 09:39:37 +1000, "Marc Castles"
> <marc at peaksoftware.com.au> said:
>> I'm not sure if this has been mentioned or not, but is it possible to
>> pass in a variable with an '&' character in the variable name?
>>
>>
>>
>> Eg..
>>
>>
>>
>> addVariable('name','Starsky & Hutch');
>>
>>
>>
>> The variables seem to be cutting off at the &. I tried \& but it has
>> same result.
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Marc Castles
>>
>> Peak Software 8 Field Street, Ballarat Vic 3350
>>
>> PH: 03 5334 4752
>>
>> FAX: 03 5333 7411
>>
>> MB: 0421 636 775
>>
>> marc at peaksoftware.com.au <mailto:marc at mcweb.com.au>
>>
>> www.peaksoftware.com.au <http://www.peaksoftware.com.au/>
>>
>>
>>
>
> -- 
> http://www.fastmail.fm - Faster than the air-speed velocity of an
>                           unladen european swallow
>
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list