Blinking cursor lost in text / textarea boxes in Firefox
I've noticed that when I place a text box or textarea form element within a cell, I lose the blinking cursor when I click on the form element using Firefox. The cursor does appear normally when I use IE.
Here is a code snippet that I am using:
var grid1_grid_data = [
["<input type='text' name='list_num_1' value='1.00' size='5' class='num' >",
"dwg",
"T-1",
"<textarea name='dwg_desc_1' cols='40' rows='2'>Title Sheet</textarea>",
"08/02/2004 <a href='javascript:edit_item(9)'><img src='/images/button_edit.png' border='0' title='Edit item'></a><a href='javascript:delete_item(1,9)'><img src='/images/button_drop.png' border='0' title='Drop item'></a>"],
.
.
.
]
try {
var grid1 = new Active.Controls.Grid;
grid1.setRowCount(grid1_grid_data.length);
grid1.setColumnCount(grid1_columns.length);
grid1.setDataText(function(i, j){return grid1_grid_data[i][j]});
grid1.setColumnText(function(i){return grid1_columns[i]});
var alternate = function() {
return this.getRowProperty("order") % 2 ? "mistyrose" : "white";
}
.
.
.
Is there a way of forcing Firefox to display the blinking cursor when I click in the textarea or text box? IE seems to work fine this way as is.
I'm not sure which version I'm using.
Thanks
Here is a code snippet that I am using:
var grid1_grid_data = [
["<input type='text' name='list_num_1' value='1.00' size='5' class='num' >",
"dwg",
"T-1",
"<textarea name='dwg_desc_1' cols='40' rows='2'>Title Sheet</textarea>",
"08/02/2004 <a href='javascript:edit_item(9)'><img src='/images/button_edit.png' border='0' title='Edit item'></a><a href='javascript:delete_item(1,9)'><img src='/images/button_drop.png' border='0' title='Drop item'></a>"],
.
.
.
]
try {
var grid1 = new Active.Controls.Grid;
grid1.setRowCount(grid1_grid_data.length);
grid1.setColumnCount(grid1_columns.length);
grid1.setDataText(function(i, j){return grid1_grid_data[i][j]});
grid1.setColumnText(function(i){return grid1_columns[i]});
var alternate = function() {
return this.getRowProperty("order") % 2 ? "mistyrose" : "white";
}
.
.
.
Is there a way of forcing Firefox to display the blinking cursor when I click in the textarea or text box? IE seems to work fine this way as is.
I'm not sure which version I'm using.
Thanks
JJI
November 4,