Vito,

Can you use mootools 1.3?

--
Fábio Miranda Costa
front...@portalpadroes
Globo.com
*github:* fabiomcosta
*twitter:* @fabiomiranda
*ramal:* 6410



On Fri, Oct 22, 2010 at 7:53 AM, Vito Tafuni <[email protected]> wrote:

> the error of document.id seems to be related to the uid assignement
> item.uid = [Native.UID++]
> but in general the ie8 dom element seems to be "readonly".
>
> howevere i've solved with code i've found on the mootools forum
> http://www.jsfiddle.net/vitotafuni/bnFfK/8/
> edited a bit to make it work on ie8
>
> it works on ff too but it just a ie8-useless-waste-of-time-patch
>
> if there's another way to do this job... please let me know!
>
> -Vito-
>
>
>
>
>
>
>
> --
> -----------
> Tafuni Vito
> [email protected]
> ---------------------------------------------
> "Verba volant, scripta manent... data corrupted"
>
>
> 2010/10/22 Vito Tafuni <[email protected]>
>
> Fabio mayday!
>> http://jsfiddle.net/vitotafuni/bnFfK/5/
>> I think syntax is right... but i can't make it works on firefox!
>>
>> --
>> -----------
>> Tafuni Vito
>> [email protected]
>> ---------------------------------------------
>> "Verba volant, scripta manent... data corrupted"
>>
>>
>> 2010/10/21 Fábio M. Costa <[email protected]>
>>
>>  You should use mootools 1.3 and select nodes using Slick.search or
>>> Slick.find.
>>>
>>> Get the responseXML and pass it to Slick as a context:
>>>
>>> new Request({
>>>   url: 'yoururl',
>>>   onSuccess: function(text, xml){
>>>     Slick.find(xml, '#selector');
>>>   }
>>> });
>>>
>>> Something like that.
>>>
>>> --
>>> Fábio Miranda Costa
>>> front...@portalpadroes
>>> Globo.com
>>> *github:* fabiomcosta
>>> *twitter:* @fabiomiranda
>>> *ramal:* 6410
>>>
>>>
>>>
>>>
>>> On Thu, Oct 21, 2010 at 4:17 PM, Vito Tafuni <[email protected]>wrote:
>>>
>>>> hi to all,
>>>> I spent a lot of time finding the problem!
>>>>
>>>> I'm using Strophe lib for writing an XMPP client.
>>>> The problem is that when i receive a stanza xml element, document.idfails 
>>>> to convert it to a Mootools element on IE8 (when will they stop coding
>>>> it?)
>>>>
>>>> http://www.jsfiddle.net/vitotafuni/bnFfK/
>>>> here you can find my example code... Strophe has some builtin xml
>>>> builder for simple element like 'iq', 'presence' and 'message' so i've used
>>>> one of them to simulate a received stanza.
>>>>
>>>> I hope someone can help me!
>>>>
>>>>
>>>>
>>>> --
>>>> -----------
>>>> Tafuni Vito
>>>> [email protected]
>>>> ---------------------------------------------
>>>> "Verba volant, scripta manent... data corrupted"
>>>>
>>>
>>>
>>
>

Reply via email to