Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-02-2010, 03:26 PM   PM User | #1
hiuyu
New to the CF scene

 
Join Date: Jul 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
hiuyu is an unknown quantity at this point
Exclamation comment system: not working in IE and Firefox!!!

Dear all,

I am very very new to javascript, i just learn from the tutorial and try to add validation to it, but it can't run in IE and firefox, but running in safari.

here is the index.php
...

addcomment.php
...

<<< the code is deleted by erica>>>

Last edited by hiuyu; 07-03-2010 at 08:48 AM.. Reason: finished the study!! thank you
hiuyu is offline   Reply With Quote
Old 07-02-2010, 04:26 PM   PM User | #2
Fumigator
UE Antagonizer


 
Fumigator's Avatar
 
Join Date: Dec 2005
Location: Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
Posts: 7,686
Thanks: 42
Thanked 637 Times in 625 Posts
Fumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of light
What errors are you seeing? How is it "not working"? Does your query call return true or false, and if it returns false, are you handling that? (the answer is no on that one) And are you also aware that you can't rely on client validation alone? You also need server-side validation; anyone can send a post request to your server script and completely bypass your validation.
__________________
Fumigator is offline   Reply With Quote
Old 07-03-2010, 01:49 AM   PM User | #3
hiuyu
New to the CF scene

 
Join Date: Jul 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
hiuyu is an unknown quantity at this point
This is my example link:
the link is deleted.

Last edited by hiuyu; 07-03-2010 at 08:46 AM.. Reason: deleted example, link will be expired
hiuyu is offline   Reply With Quote
Old 07-03-2010, 01:51 AM   PM User | #4
hiuyu
New to the CF scene

 
Join Date: Jul 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
hiuyu is an unknown quantity at this point
Is relate to the setting of apache: mime ??
hiuyu is offline   Reply With Quote
Old 07-03-2010, 01:51 AM   PM User | #5
hiuyu
New to the CF scene

 
Join Date: Jul 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
hiuyu is an unknown quantity at this point
I use my own server!!!
hiuyu is offline   Reply With Quote
Old 07-03-2010, 03:54 AM   PM User | #6
Fumigator
UE Antagonizer


 
Fumigator's Avatar
 
Join Date: Dec 2005
Location: Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
Posts: 7,686
Thanks: 42
Thanked 637 Times in 625 Posts
Fumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of light
Install Firebug and check out the error on your ajax call.
__________________
Fumigator is offline   Reply With Quote
Old 07-03-2010, 08:45 AM   PM User | #7
hiuyu
New to the CF scene

 
Join Date: Jul 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
hiuyu is an unknown quantity at this point
Quote:
Originally Posted by Fumigator View Post
Install Firebug and check out the error on your ajax call.
It really help.
I have solve the problem.

Thank you.
hiuyu is offline   Reply With Quote
Reply

Bookmarks

Tags
comment

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:09 PM.


Advertisement
Log in to turn off these ads.