Hi, I have the following code
img.after('<li></li>');
Which works correctly and add the "li" element. Now I want to select the "li" element; it doesn't have any class or ID, but I want to select it just after creating it, so I'm able to use it (for example mynewli.addClass()) as a jquery element.
How can I do that?