I have created a login form having two jQuery Mobile TextBox Controls, one for the user name and one for the password.
Now I have found that if I delete the userName control and replace it with one jQuery Mobile TextBox with the same id, my code will not work and the orientation of the textbox is destroyed, meaning that instead of appearing at the center of the screen as was initially placed, it appears at the top of the page and extended to the whole width of the page.
On Chrome, I get the error: " Uncaught TypeError: Cannot read property ‘parentElement’ of undefined" at a line of index.html (seen under Chrome Developer) :
uName.parentElement.id = ‘uName_wrapper’;
Any suggestions?