You are not logged in.
I try to insert a textarea (xihna) and others fields (such a input text, input password): but they are not visible in the page. What i do? Thank you for any response.
Andrea - ITALY
Offline
For a explanation:
i have this php file
<!DOCTYPE BHTML PUBLIC "-//BC//DTD BHTML 3.2 Final//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
<!--<link rel="stylesheet" href="full_example.css" />-->
<link rel="stylesheet" href="../../css/mainmenu.css" />
<script type="text/javascript">
// in this example we do a little regular expression to find the absolute path.
_editor_url = document.location.href.replace(/pagina\.php.*/, '')
_editor_lang = "it"; // And the language we need to use in the editor.
</script>
<!-- Load up the actual editor core -->
<script type="text/javascript" src="htmlarea.js"></script>
<script type="text/javascript">
xinha_editors = null;
xinha_init = null;
xinha_config = null;
xinha_plugins = null;
xinha_init = xinha_init ? xinha_init : function()
{
xinha_plugins = xinha_plugins ? xinha_plugins :
[
'CharacterMap',
'ContextMenu',
'FullScreen',
'ListType',
'Stylist',
'SuperClean',
'TableOperations',
'ImageManager'
];
// THIS BIT OF JAVASCRIPT LOADS THE PLUGINS, NO TOUCHING
if(!HTMLArea.loadPlugins(xinha_plugins, xinha_init)) return;
xinha_editors = xinha_editors ? xinha_editors :
[
'myTextArea'
];
xinha_config = xinha_config ? xinha_config() : new HTMLArea.Config();
xinha_editors = HTMLArea.makeEditors(xinha_editors, xinha_config, xinha_plugins);
HTMLArea.startEditors(xinha_editors);
}
window.onload = xinha_init;
</script>
</head>
<body>
<form id="editors_here" action="test.php" method="POST">
<textarea id="myTextArea" name="myTextArea" rows="10" cols="80" style="width:100%"></textarea><br>
<inpu type="text" name="my_name"><br>
<input type='submit' value='OK'>
</form>
<!-- Contenuto textarea-->
<div id="lipsum" style="display:none">
<?php
echo 'mytext';
?>
</div>
<script src="full_example.js"></script>
</body>
</html>
In this page the field 'my_name not appears and in the test.php page a have simply:
<?php
print_r($_POST);
?>
What i get in the test.php page is the only value of the text area .
What i do? Thank you
Offline
Ok: the error is now corrected as:
[...]
<body>
<form id="editors_here" action="b.php" method="POST">
<textarea id="myTextArea" name="myTextArea" rows="10" cols="80" style="width:100%">mytext</textarea><br>
<input type="text" name="my_name"value="aa"><br>
<input type='submit' value='OK'>
</form>
</body>
</html>
and when i get the $_POST i obtain the value of field; but the textarea value (in this example 'mytext') don't appears in the xinha area. Sic.... Thank you.
Offline
I have resolved: the error was in the html file. Thank you.
Offline