| View previous topic :: View next topic |
| Author |
Message |
montanarry Enthusiastic Coder
Joined: 13 May 2006 Posts: 175
| |
Poolkop Enthusiastic Coder
Joined: 01 Jun 2006 Posts: 123
|
optomeb, If you want it to get data, then you should use a form. Ever heard of gracefull fallback?
Reply with quote
|
| |
|
|
Klimapol Enthusiastic Coder
Joined: 27 May 2006 Posts: 134
| |
montanarry Enthusiastic Coder
Joined: 13 May 2006 Posts: 175
|
optomeb, you dont have to use a form just the <input> but i suggest you use a <form> and <input > in it
Reply with quote
|
| |
|
|
optomeb Enthusiastic Coder
Joined: 19 May 2006 Posts: 113
|
montanarry, how can I not let it reload the page when using a form?
Reply with quote
|
| |
|
|
montanarry Enthusiastic Coder
Joined: 13 May 2006 Posts: 175
| |
Klimapol Enthusiastic Coder
Joined: 27 May 2006 Posts: 134
|
You can catch the submit event, cancel it, and then use XHR instead
Reply with quote
|
| |
|
|
montanarry Enthusiastic Coder
Joined: 13 May 2006 Posts: 175
| |
Klimapol Enthusiastic Coder
Joined: 27 May 2006 Posts: 134
|
Of course then you need a protocol for recieving feedback via XHR and knowing what to do with it
Reply with quote
|
| |
|
|
montanarry Enthusiastic Coder
Joined: 13 May 2006 Posts: 175
|
I dont know if they do submit if you wont put a <input type=SUBMIT>
Reply with quote
|
| |
|
|
|