Hello all,
Sorry for my english first. I'm new to ckEditor and I want to use it for my website that I do with PHP.
I have a problem when I add a select tag element in the form which also contains ckEditor.
In my page I have some menus tab which I display from my database with PHP.
The problem is when I click on the select element in the form, it redirect me to one of the link of my menu tab!!! The select tag element doesn't contain any link to another page. I don't understand anything.
The pb happens only with FF and Chrome not with IE or Safari. Is there a solution to fixe that pb. Thank you for your help.
See the attached file and my code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript" src="../ckeditor/ckeditor.js"></script> </head> <body> <div> <?php include('extrubriqueeconomie.php'); //the code for my menus tabs ?> </div> <div> <form method="post" action="./site/enregistrer.php" name="article" style="position:absolute;top:200px"> <select name="article" style="float:right"> <option value="1">Article 1</option> <option value="2">Article 2</option> <option value="3">Article 3</option> </select> <br /> <br /> <textarea id="editor1" name="editor1" style="position:absolute;top:60px"><p>Initial value.</p></textarea> <script type="text/javascript"> window.onload = function() { CKEDITOR.replace( 'editor1' ); }; </script> <input type="submit" value="Valider"/> </form> </div> </body> </html>
Re: pb with links