Click to See Complete Forum and Search --> : dynamic tables
z_mirza
06-05-2003, 12:12 PM
ok guys heres the deal on the site ive been working on, a while back i asked how can i make 3 js files that do almost the same thing into 1 js file. with the help of people on this site i figured out how to do that, then i needed to make 3 .htm files into 1. and now i have 1 js file and 1 htm file, that work together to create 3 dynamcily build 3 pages. this is how it works
the user clicks a link in the links page and that trigers functions to make the corresponding table in the content page. the problem is that the old table is sill there. i need to know what is the best way to get rid of the table.
attached is a zip file of my work so far. thanx for your help guys
The script doesn't even work for me at all. Do you have an online-link?
Jona
z_mirza
06-05-2003, 01:53 PM
hmm... it should work just fine, i dont have it online yet
ive attached it again
Still no go. Put it online then give me the link... What browser are you using?
Jona
z_mirza
06-05-2003, 01:59 PM
i dont have a webpage but ill get it online soon im using IE, i made the fiels with .net
i dont get what you mean by the script doesnt work for you, are you getting an error or what
ok i think i know why, view source ont the list.htm and change the script scouce, the way i had it set up is not the way i put it in that zip file, sorry about that
Triple okay. :) Just tell me when you get it online. I'm using IE, too and I get many errors.. Check out line 24.
Jona
z_mirza
06-05-2003, 02:03 PM
on what page, there shouldnt be any errors:confused:
after you edit the scr for the script in the list.htm page
Main.htm gives the errors. The other don't work because Main.htm is a frameset.
Jona
z_mirza
06-05-2003, 02:09 PM
could you elaborate more. im not sure what you mean by it gives errors becaues its a frame set, what erros, and why am i not getting any erros
OK, well, first onload on line 24, I get error: object expected. Then when I click on any of the links to the left, I get error: object doesn't support this property or method.
Jona
z_mirza
06-05-2003, 02:24 PM
<script language="JavaScript" src="List.js"></script>
Not sure what you mean by that. Did you put the pages online yet?
Jona
z_mirza
06-05-2003, 02:42 PM
change
<script language="JavaScript" src="../scripts/List.js"></script>
to
<script language="JavaScript" src="List.js"></script>
Well, now it shows up initially; however after I click one of the "links" to the left, I get an error: object does not support that property or method.
Jona
P.S. I sent you a private message.
z_mirza
06-05-2003, 02:50 PM
wiskey tango foxtrot, thats weird.... ill look into it, and no i dont have it online yet, no where to put it up