answering to ajax request like it is normal

hi. it is possible to decide on the server side if the answer is ajax or
non?

or: it is possible to answer ajax-request like it was standard without
page.redirect_to ?

By "normal" I assume that you want to send back HTML instead of
javascript?

Not really. The request was issued by js and is expecting a js
response.