hide and show delay options
before and success ajax functions