jquery select from selected element code example Example: get selected element html jquery $('.classSelector')[0].outerHTML