...

Functions gone wrong - (new to JS)

Blekk
10-17-2007, 07:23 PM
Hi, I have created my school timetable in HTML and CSS and want when I rollover a lesson it to bring up a CSS Rollover Div displaying the name of the teacher and room where it is, calling this from a table in my Mysql table through PHP and JS.

I have already had help on this problem here: http://www.codingforums.com/showthread.php?t=124601 (Please read to understand what I am talking about.

Here is my last post on that thread, which is also my question for this one (2reikis told me to post it here because it is an AJAX question now, not JS):

I've put the html "Mr Hilton<br /> 26" etc into fields in a table.

And as you can see in the code of timetable.html, the onmouseover function for the first Maths lesson is showData('maths', 1);. If you look at showData, it should go off to the php page, run the query and then return the string that is put into "popup" box.

I know it was fine as it was but I am just learning AJAX and so need something to test on.

Anyway, now it doesn't display any of the information in the "popup" box, does this mean there is some wrong syntax in one of the functions used when the onmouseover function is called? And do you have any reasons why my code doesn't work?

Thanks for your time. I hope I have cleared up the confusion now.

Any reply is appreciated. Thanks for your time.

Blekk
10-24-2007, 10:55 PM
bump...please

shyam
10-25-2007, 06:59 AM
http://www.codingforums.com/showthread.php?t=124601

Blekk
10-28-2007, 10:11 PM
Ok sorry I didn't see you had posted there.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum