Posting form information to iframe keeps opening as in _blank

时间:2016-02-12 20:14:45

标签: javascript jquery html iframe

I've been having a problem while posting the server response to the iframe.

What I have in this moment is this:

"myapp.mypackage.User@3c81a180 myapp.mypackage.User@28d2a9cf myapp.mypackage.User@19c74a79"

The links go to an external website.

The form is getting the data through js, which does come into question as it is working.

The result I expect to achieve is that the response for this form is hidden.

The result I am getting is the result being opened in a new tab (or window) as in target='_blank'.

I do not want to use PHP or another type of server for now, would like an js/html solution.

Is there something I'm doing wrong that I did not see?

Thanks a lot.

0 个答案:

没有答案