|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
How can I get a Radio button type of selection?
I was intended to code a radio button selection. My code is as follow:
Code:
<select name="Gender">
<option value="M">M</option>
<option value="F">F</option>
</select>
But instead of radio button, i got a drop down list. May I know how can I change it to radio button type? Is it has to do with something like this? Code:
<select name="Gender" type=radio> I've tired this but it can't work either. So anyone has any suggestion? Thanks alot. |
|
#2
|
||||
|
||||
|
What are you viewing the code on, and what language are you using? wml or xhtml?
See w3schools wap methods that you are already using, or if you are using xhtml, see this. Good luck.
__________________
Cheers, Jamie # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure # Any form of employment is strictly prohibited ...... __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. __________________ |
|
#3
|
|||
|
|||
|
I' using wml as my underlying language and using OPERA browser to view the result.
So how shall I modify my code? |
|
#4
|
||||
|
||||
|
radio button support on handsets is limited, this link might help you find out which phones are likely to support it.
http://67.19.145.169:8080/wurfl/actualdevices.jsp
__________________
Andy Moore << oh no it's got a blog..... Word Press WAP Plugin with Ad Mob Advertising revenue PHP developer deploying ringtones, mp3 downloads and realtones I'm a geek who's obsessed with stats and gadgets |
|
#5
|
||||
|
||||
|
It depends on the phone, some phone it will be radio buttons others a drop down list. One of my phones is radio and the other drop down.
__________________
|
|
#6
|
||||
|
||||
|
I'd use WALL then to sort out which phone needs which markup.
There is no need to code WML anymore when there is an alternative markup which will multiserve easily. |
|
#7
|
||||
|
||||
|
Thanks andy I have not seen WALL before, have you used it on any sites? If you have what do you think of it?
I've been reading through the page you linked to and it sounds good. |
|
#8
|
||||
|
||||
|
yes i have used it and let's just say i don't do wml anymore.
![]() |
|
#9
|
||||
|
||||
|
Quote:
You lazy... Have you got a url were I can see it in action? |
|
#10
|
||||
|
||||
|
there's examples on the wurfl / wall site. the integration i did is for a ringtone / realtone / 3gp video downloader so you'd need to buy a tone to see it in action, then if you tried it on a different browser it would lock you out so you're best off on the wurfl site with the demos there.
better still install it, unless you're too lazy! lol |
|
#11
|
|||
|
|||
|
Oh I see I see, thanks alot for sharing here.
|
|
#12
|
||||
|
||||
|
The example are down on the WURFL at the moment so I guess I'll give it an install on my machine when I am not being so lazy.
I noticed you got Horoscopes on your site, I like the idea I was wondering how you went about setting it up and getting the content I wouldn't mind having something like them on one of my sites. |
|
#13
|
||||
|
||||
|
hi dunno if im quite right in this but im sure that it works (or at least it does in waptor wml editor)
<input type="radio" value="" /> something like that, but if you define it that way then i think the mobile that tries to access the page had better be compliant with that form of input or they will get an error.. just a though on this, andymoo if u come back here and if you have a few moments spare can you please cast ur knowledgable eye over a script i posted in this forum ty in advance |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > How can I get a Radio button type of selection? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|