PHP Array readonly property in IE?

Rosane

New member
Hi everybody, I'm new to the group and I am struggling to find why the code below works in Firefox but not in IE. Is there any way I can change the code so it works in IE? I just want to display a value in an array, but the user should not be able to change anything. Please see the code below. The array number 4 is readyonly and it's still open for the users to change the value.

Any help will be appreciated! Thanks in advance

$secondarygrid = array( 0 => array("title" => "Company",
"field" => "company_code_nr",
"key" => 1,
"fkey" => 1),
1 => array("title" => "Pedido",
"field" => "order_code_nr",
"key" => 1,
"fkey" => 1),
2 => array("title" => "Cliente",
"field" => "entity_code_nr",
"null" => 1,
"key" => 0,
"fkey" => 0,
"skey" => 1),
3 => array("title" => "Item",
"field" => "order_detail_seq_nr",
"key" => 1,
"null" => 1,
"visible" => 1,
"orderby" => 1,
"align" => "right",
"size" => 8),
4 => array("title" => "V.Item",
"field" => "invoice_detail_itemvalue_nr",
"null" => 1,
"visible" => 1,
"readonly"=> 1,
"align" => "right",
"format" => "$10.2",
"size" => 10),
5 => array("title" => "Lote",
"field" => "invoice_detail_lot_code_tx",
"insert" => 1,
"edit" => 1,
"null" => 1,
"visible" => 1,
"size" => 10),
);
 
Back
Top