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'); Quote 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? Quote Link to comment https://forums.phpfreaks.com/topic/233721-key_field-returns-undefined/#findComment-1201638 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.