[eluser]Unknown[/eluser]
as a step javascript variable to a form to record in the db
this is the javascript
### my first view
<html>
<form>
<p>
id="categoria" NAME="category" /> <input type="text"
[removed]
var category = new Array (
"tier one"
"tier two"
"lsita three, "
)
new AutoSuggest (document.getElementById ('category '), category);
</ script>
<p>
</ p>
</ form>
</ body>
</ html>
###my second view
<? php
$ today = date ("Y / m / j");
$ hidden = array ('fecha_registro' => $ today
'category' => 'category',
'status' => 'limited');
Form_Open echo ('login / create_member','',$ hidden);
form_label echo ('category ');
include ("completado.php");
Form_Open echo ('login / create_member','',$ hidden);
/ / echo Form_Open ('login / create_member');
<p>
<? form_submit php echo ('submit ', 'new');?>
<? php echo form_close ();?>
the form is set as the word category category category not as a string coming from the page containing the javascript,, I can give any recommendation or to take the value form that attempted to pass from the opposite page, thanks in advance