Haven't tried it yet but is the comma in your function a copy and paste error ?
Cheers Max On Tue, Aug 25, 2009 at 06:31, FloridaBee <[email protected]> wrote: > > Hey, > I am trying to use the <input type=range> to simulate the vertical > slider on the iphone. > I would like to see the current value of the slider. Which event > should I use to accomplish that? > I tried on valueChanged and oninput but it gives me strange results > > <input type="range" id="top" min="0" max="40" oninput="sliderChange()"/ > > > > function sliderChange() > { > var top=document.getElementById("top").value; > document.getElementById("label"),innerHTML=top; > } > > thanks a lot ! > Bee > > > > -- Max --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
