Thanks Brent. Feedback is always welcome and I'm planning on releasing
Alpha 3 this weekend.
As for the problem at hand, I think you're right — need a sample case.
I can say for sure that I have included something ala:
<script>
alert('hello world!');
</script>
in a page which is loaded dynamically, and had it execute.
Best,
Dave
--
www.jqtouch.com
www.webkitbits.com
On Apr 2, 2009, at 10:03 AM, Brent wrote:
>
> Monsieur Pierre -
>
> I agree with Chris. Create a simple hello world test without
> confidential data and share that. That way all these friendly and
> FREE iPhone QA resources could quickly point out your javascript
> issue. Your description of your problem without real sample code is
> causing undo speculation. Most likely you need to learn how to debug
> javascript with FireBug or look at the console. This will tell you
> where the crime is being committed !!!! :D
>
> cheers, Brent
>
> PS. Shout out to www.iphoneized.com and www.jqtouch.com - killer
> stuff Chris and David !!!
>
>
> On Apr 2, 5:52 am, Pierre <[email protected]> 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
-~----------~----~----~----~------~----~------~--~---