Click to See Complete Forum and Search --> : Parts of my code not randomly stopped working...


Toadums
05-31-2009, 01:34 PM
Hey...Im not sure if anyone will be able to help me...since I think this is more of a javascript question.

But anyways, I have my php form...in it there are a few javascript methods. I recently got a new one off the internet to hide a bunch of checkboxes, and since I did that, none of the OTHER javascript functions work...

I have absolutely no idea why...I have tried deleting the new code, but still nothing.

uh..I will post a link to my code in .txt, since there are a lot of lines (dont feel obligated to read it all)

The javascript code that is in the <head> starting at the line <script type="text/javascript"><!--//--><![CDATA[ is the new code that I added.

All my other functions are near to the bottom of the form.

Hope someone can help me...here is my code: http://pdem.mattwatson.info/Expenses/formCode.txt

Thanks,
Paul

edit**

note. the other java script functions are called when checkboxes are pressed. and if a submit button is pressed (i will change this one later to just a normal button :D)

also, I have come to the conclusion that the JS isnt even being called when checkboxes are pressed....and it was working fine 100% before that new code..