I am trying to add some form elements dynamically via Ajax with jQuery. I want to make sure that I don\'t create the same element twice, so I only want to add it if it hasn\
if ($('#some_element').length === 0) { //If exists then do manipulations }