![]() |
![]() |
![]() ![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 31 Pomógł: 0 Dołączył: 13.04.2010 Ostrzeżenie: (0%) ![]() ![]() |
Witam. Zaimplementowałem w swoim formularzu edytor wizualny "HyperTextArea". Rozpakowałem go do katalogu ze stroną (otrzymując podkatalog "javascript" w którym znajdują się skrypty edytora).
Tworzę jeszcze formularz ($_POST) który będzie przekazywał dane do następnej strony) Może mi ktoś powiedzieć jak mam przekazać zawartość edytora na następną stronę? Kod edytora jest napisany w javie: i ma się on znajdować wewnątrz formularza. Jak go przekazać do następnej strony? Na stronie twórcy (http://hypertextarea.sourceforge.net/faq.html) jest napisane jak to zrobić ale nie mogę tego w ogóle rozkminić chociaż znam dobrze angielski: Cytat * This code must be inside <form></form> tags. Often you can just replace a <textarea name="myField"></textarea> with the code above. Make sure that the name of the <textarea/> is the same as the name that you give to your HyperTextArea. * The first argument ("area1" above) is the name of the HyperTextArea instance. More on that later. * The second argument is the HTML content that you would like to load up in the HyperTextArea when it initializes. * The third and fourth arguments are the height and width respectively * The fifth argument is the path to the installation directory ("/javascript ") in this example, although you can install HyperTextArea in any directory on your web site that is accessible via a web browser. Load your page and laugh heartily as you now have a WYSIWYG editor! Cały problem polega na tym, że chociaż edytor mam wewnątrz <form></form> to nie wiem w jaki sposób jego zawartość przesłać dalej? |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 14.08.2025 - 12:51 |