Hi
How to get the Id of an element after firing the event from another element which is located before first element.
Actually I have dynamically created <select> and a <span>.
I want to get the id of the <span>,after the onchange event of the <select>
Span is located after the <select>
I have used following code
$( this ).after( $( "span" ) ).id;