unemployment Posted April 14, 2011 Share Posted April 14, 2011 Why does firebug tell me that key_field is undefined? Is it because I haven't defined it in the HTML? key_input.setAttribute('id', 'companykey'); var key_field = document.getElementById('companykey'); Link to comment https://forums.phpfreaks.com/topic/233721-key_field-returns-undefined/ Share on other sites More sharing options...
Adam Posted April 14, 2011 Share Posted April 14, 2011 Is "companykey" the ID of an element within the HTML? Link to comment https://forums.phpfreaks.com/topic/233721-key_field-returns-undefined/#findComment-1201638 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.