Question and answer is powered by AnsPress.io
I want to delete an element from web page using jquery by id.But before do this I have to find out the id.So how can I check this?
Use jquery simple method.This will check whole web page.
if ($(‘#id).length) {
// Do your code here
}
else
{
//Do your code here
}