FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PEAR in Firefox
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PEAR in Firefox [message #178372 is a reply to message #178365] Tue, 12 June 2012 00:02 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
Shelly wrote:
> I think this is more of a Firefox problem than a PEAR or PHP. I have
> posted a question in the Firefox forum, but have not received
> significant help. I am posting here in the hope that someone else has
> come across the same problem and might have an answer. So, if you only
> want PHP (Jerry), please just ignore this post.
>
> I have an onload for a page that sends out JSON via PEAR HTML-AJAX.
> Firebug is telling me that it gets back a proper response. The response
> is to be painted into a <div> using inner-HTML. (Using a <span> makes
> no difference). In Firefox it paints nothing. In Internet Explorer 8
> it works perfectly.
>
> I cannot give a URL as an example as this is for an intranet behind a
> firewall that I access via VPN.
>
> You probably can't help me, but it is worth a shot.
>

Mmm. inner-HTML doesn't always work in firefox: the DOM is actually
slightly different.. Its been a while but innerhtml is I think IE specific.

So, rubbing salt in jerry's ass, this is actually a javascript issue.

Hmm. my javascript book says that innerhtml is supported, but there is
something about this that caught me out once: - teh parsing IIRC is
stricter in Firefox and innerhtml is not always usable with certain
elements.

Make up a test page that attempts to modify an element using innnerhtml
in an java script that happens on mouseover or something and see if you
can dupe it.

Note also that IE does not distinguish between the name ="x" and id="x"
element indentifiers: Sometimes that aloows nam,eing bugs to go
unnoticed in IE.



--
To people who know nothing, anything is possible.
To people who know too much, it is a sad fact
that they know how little is really possible -
and how hard it is to achieve it.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Query about WWW-Authenticate: Basic and bad UserID/Password recovery
Next Topic: Stats comp.lang.php (last 7 days)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 22:31:08 GMT 2024

Total time taken to generate the page: 0.04348 seconds