Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Feature Request: input onchange ajax submission #988

Closed
kurteknikk opened this issue Feb 5, 2011 · 1 comment
Closed

Feature Request: input onchange ajax submission #988

kurteknikk opened this issue Feb 5, 2011 · 1 comment

Comments

@kurteknikk
Copy link

Hi,

Working in the mobile world i understand a very important thing that the user doesn't want to change an input and press submit for a small thing like a searchbox for example.

Maybe a searchbox if not the best example due to the 'processing required' for certain searches but a slider would be a great example.

So the user just wants to adjust the slider and after a particular timeout the input submits an ajax request to the server with the new value. For example:

data-submit="javascript: 'page.php?id='+this.id+'&value='+this.value"

I know that's not the right syntax for doing it but just to have an idea of what i'm thinking about... Of course using markup the developer should specify where to submit that new value and how.

It's around the same logic of how an 'autocomplete' works, where we make a request BUT if the user changes the value within a certain timeout we abort the previous request and make a new one with the new value.

I'm not sure what you guys think about this idea, if its too specific or maybe there are blockers to implement it to certain controls or so.

Would like to hear some ideas and if there's someone who looks forward on something similar. If i have some time i might give it a try if we see that its a good contribution for jqm.

Regards,
Kurt

@toddparker
Copy link
Contributor

Thanks, tracking as a feature request here:
https://github.com/jquery/jquery-mobile/wiki/Feature-Requests

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants