Can you simply use $("#urlTextBox"), $("#urlInput") inside of here?