Hi.
I would like to automatically fill in the textbox labeled "Amount 2" after choosing the value of Amount without refreshing the page. I guess it requires javascript or AJAX but i don't know how to do it. Any help please?
http://i55.tinypic.com/29crpdz.jpg
$options_amount = array("0","1","2","3","4","5","6","7","8","9","10+");
$metabox = array();
$metabox[] = array( "name" => "amount",
"label" => "Amount",
"desc" => "Choose the amount.",
"std" => "0",
"type" => "select",
"options" => $options_amount);
$metabox[] = array( "name" => "amount2",
"label" => "Amount 2",
"desc" => "No need to enter it.",
"std" => "",
"type" => "text");