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