Hey,

Ok so I am creating an element with:

PHP Code:
var newElement document.createElement('INPUT'); 
Then I assign the properties:

PHP Code:
with (newElement)
{
     
name "adjustmentCost" count;
     
size 7;
     
maxlength 8
     
onblur "alert();"//This doesn't seem to work

adding onblur in the properties above doesn't work.. I also can't seem to do this:
PHP Code:
document.getElementsByName("ELEMENTNAME").onblur "javascript:alert();"
Any suggestions on what I am doing wrong?

Thanks,

Brett