NYCPHP Meetup

NYPHP.org

[nycphp-talk] OT (Slightly) Help with PHP/JavaScript Error Resolution?

tedd tedd at sperling.com
Mon Jul 31 15:35:33 EDT 2006


At 3:19 PM -0400 7/31/06, R. Mariotti wrote:
>Sorry - I know this is most likely a js issue but it seems to be
>occurring in only ONE of my PHP programs so I thought I would ask here
>because of the VAST amount of insight and expertise available...

You're certainly not talking about me, but I'll answer anyway. :-)

>I am trying desperately to incorporate a free js routine that hides a
>DIV and then redisplays it when asked using DHTML.

Bob:

You said "when asked" -- what's triggering the event? If it's a users 
click to a link, then ajax would certainly work to change the 
contents between div's.

For an example, please review:

http://xn--ovg.com/ajax

As for the error, you might try:

document.getElementById("Div" + count).innerHTML

hth's

tedd
-- 
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com



More information about the talk mailing list