hi
can i change id attribute an element with below command in jquery
i know this code is not reasonable but i want to know change id's element after load page is incorrect and hos is state of validate code after change id an element?
id attribute is identifier for element. writing this code dont cause i lose this element in dom tree?
thanks alot for your help
can i change id attribute an element with below command in jquery
Code:
$("#error").attr("id", "warning");
i know this code is not reasonable but i want to know change id's element after load page is incorrect and hos is state of validate code after change id an element?
id attribute is identifier for element. writing this code dont cause i lose this element in dom tree?
thanks alot for your help
Comment