W
Weedget
Hello!
i've code from above...
when i blur my input text field i get undefined result from
'this.value' in function 'process'
what i'm doing wrong?
anybody can help me? :>
function zmien(id, id_src)
{
var dozmiany;
var html;
dozmiany=document.getElementById(id_src).innerHTML;
html = '<input id=\'input'+id+'\' type=\'text\' onblur=\"zmien(\''+id
+'\',\''+id_src+'\',0); process(\''+id+'\',\''+id_src+'\',
\''+this.value+'\');\"/>';
document.getElementById(id).innerHTML=html;
document.getElementById('input' +id).value=dozmiany;
}
Regards
Weedget
i've code from above...
when i blur my input text field i get undefined result from
'this.value' in function 'process'
what i'm doing wrong?
anybody can help me? :>
function zmien(id, id_src)
{
var dozmiany;
var html;
dozmiany=document.getElementById(id_src).innerHTML;
html = '<input id=\'input'+id+'\' type=\'text\' onblur=\"zmien(\''+id
+'\',\''+id_src+'\',0); process(\''+id+'\',\''+id_src+'\',
\''+this.value+'\');\"/>';
document.getElementById(id).innerHTML=html;
document.getElementById('input' +id).value=dozmiany;
}
Regards
Weedget