I'm using JSValidate to validate a form, the form gets validated correctly when I access it via File-> Open File
, but not when I type localhost/formname
o开发者_运维知识库n my address bar.
When ran from localhost/formname
the form behaves as if the Javascript weren't there. This doesn't happen in my apache server at home, yet it does happen at work. What could it be?
*both machines run ubuntu's firefox, with javascript enabled.
Full code
Get Firebug, Web Developer Toolbar and possibly Console².
That are Firefox add-ons which can aid you in debugging.
Take a look in your Error Console, search for errors.
Do you have the "scriptaculous" folder in the same folder?
精彩评论