I think the problem you have is to do with javascript embedded in a  
"file" (or otherwise dynamically generated output) that is put on the  
page with an ajax call will never run across all browsers.  You'll  
have to attach a function call to an event listener (such as a onclick  
for a button) for it to work across all browsers.

Henry

On 2 Apr 2009, at 13:52, Pierre wrote:

>
> Chris,
>
> I cannot provide a link simply because nothing is online yet and it
> contains confidential data. I just want to make javascript work. I
> think Tole was not far from the problem when he said :
>
> "I think that you are having javascript code in sub pages. Those pages
> are grabbed with ajax and showen with innerHTML. Only firefoxis able
> to interprete that kind of javascript source usage. "
>
>
>
> On 2 avr, 13:53, Chris Collett <[email protected]> wrote:
>> Pierre,
>>
>> You said your code works fine in Firefox. Can you provide a link so  
>> we can
>> take a peek and what you are trying top accomplish?
>>
>> Thanks,
>>
>> Chris
>>
>> iphoneized.com
>>
>> Nurturing iPhone friendly web design
>>
>> On Thu, Apr 2, 2009 at 2:23 AM, Pierre <[email protected]>  
>> wrote:
>>
>>> On 1 avr, 10:01, RobG <[email protected]> wrote:
>>>> On Apr 1, 4:31 pm, Pierre <[email protected]> wrote:
>>
>>>>> Hi David,
>>
>>>>> thanks for your answer. I heard about jQuery but never used it,  
>>>>> is it
>>>>> complicate ? Do you have some manual or tutorial about it ?
>>
>>>> jQuery will not help.  Your code is an in inline listener, *all*
>>>> browsers will handle that correctly if inserted as innerHTML.  iUI
>>>> does not prevent other scripts from running.
>>
>>>> Reduce your code to the minimum that still displays the behaviour
>>>> (often that will be sufficient for you to discover the cause), then
>>>> either post the code or a link to a page that has it.  Otherwise  
>>>> you
>>>> will keep getting wild guesses.
>>
>>>> --
>>>> Rob
>>
>>> Hi Rob.
>>
>>> In fact, even just a call to the alert function simply doesn't work,
>>> so I think i cannot reduce it lol.
> >
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to