Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML with Forms and how to handle Submit #17

Open
OleSan opened this issue Jun 12, 2014 · 3 comments
Open

HTML with Forms and how to handle Submit #17

OleSan opened this issue Jun 12, 2014 · 3 comments

Comments

@OleSan
Copy link
Contributor

OleSan commented Jun 12, 2014

We're seeing more and more HTML-banner that want to use forms. I think it would be a good idea to have something about this in the spec, especially how we handle Submit in a good way, and perhaps include a sample in our Sample directory.

Any of you code gurus have thoughts on this and a best practice for handling it?

@gregersrygg
Copy link
Contributor

Submit with ajax and use window.open if it needs to open a landing page?

@sveisvei
Copy link
Contributor

What kind of tracking considerations do we have?

@leftieFriele
Copy link
Contributor

I agree with @gregersrygg, submitting with XHR would be the solution for posting. When it comes to XHR there are differences in the browser implementation, it would perhaps make sense to have some recommended libs for cross browser XHR.
On mobile devices this isn't all that important, but if ads are targeted to desktops it would be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants