s4salman Posted November 25, 2007 Share Posted November 25, 2007 Dear i have a problem in php form.when i press this form submit button, it is not click able. i m attaching this form plus its processing php file. [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
~n[EO]n~ Posted November 25, 2007 Share Posted November 25, 2007 change this line may or (may not) work <form action="process-jokes.php" name="myform" method="POST" onSubmit="return submitForm();"> submitForm function is in form-jokes.php file Quote Link to comment Share on other sites More sharing options...
Gamic Posted November 25, 2007 Share Posted November 25, 2007 As has been pointed out, try changing this line: <form action="process-jokes.php" method="POST" onsubmit="return submitForm();"> to this <form action="process-jokes.php" method="POST" onsubmit="submitForm();"> or to this <form action="process-jokes.php" method="POST">. Quote Link to comment Share on other sites More sharing options...
BenInBlack Posted November 25, 2007 Share Posted November 25, 2007 are you using FireFox browser? If not get it, it is the best for trouble shooting Javascript. Once you have it going and load up your form, check the Tools menu and select Error Console, this will tell you if you have any Javascript errors, Since you form is dependent on JS to return True, if there is a JS error then the the submit is failing, Note: IE will tell you in lower left corner if there is a JS error Quote Link to comment Share on other sites More sharing options...
s4salman Posted November 25, 2007 Author Share Posted November 25, 2007 i also checked it in internet explorer.no error message at all.form is located here : http://fun007.com/jokes/form-jokes.php As has been pointed out, try changing this line: <form action="process-jokes.php" method="POST" onsubmit="return submitForm();"> to this <form action="process-jokes.php" method="POST" onsubmit="submitForm();"> or to this <form action="process-jokes.php" method="POST">. nothing happen.same issue. i m using this rich text editor: http://www.dynamicdrive.com/dynamicindex16/richtexteditor/index.htm Quote Link to comment Share on other sites More sharing options...
s4salman Posted November 25, 2007 Author Share Posted November 25, 2007 when i reduced rich text editor to 5 from 7, it is working.an amazing thing. Quote Link to comment Share on other sites More sharing options...
revraz Posted November 25, 2007 Share Posted November 25, 2007 Do not use a Rich Text Editor, use Notepad or a PHP Editor. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.