| View previous topic :: View next topic |
| Author |
Message |
Klimapol
Joined: 27 May 2006 Posts: 134
|
| Yo..how do i disable an "A" element via JS? |
| |
|
|
|
|
BigDaddy
Joined: 26 May 2006 Posts: 147
|
| Why disable it? |
| |
|
|
Klimapol
Joined: 27 May 2006 Posts: 134
|
| Well..i'm using a link as an ajax submit button |
| |
|
|
BigDaddy
Joined: 26 May 2006 Posts: 147
|
| Don't |
| |
|
|
Klimapol
Joined: 27 May 2006 Posts: 134
|
| I would like to disable it when someone does the first click |
| |
|
|
BigDaddy
Joined: 26 May 2006 Posts: 147
|
| You can put onclick on any element |
| |
|
|
Klimapol
Joined: 27 May 2006 Posts: 134
|
....is it possible to disable it with JS?
I swear..you're that mac user aren't you? |
| |
|
|
BigDaddy
Joined: 26 May 2006 Posts: 147
|
No
I use windows and linux |
| |
|
|
Klimapol
Joined: 27 May 2006 Posts: 134
|
| But you can do <a href="blah" disabled="disabled">... |
| |
|
|
BigDaddy
Joined: 26 May 2006 Posts: 147
|
| You haven't given a good reason to use an <a> at all |
| |
|
|
| Page 1 of 2 |
Goto page 1, 2 Next |
|