Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #21700

Can I access event parameters?

From Ed Jay <edMbj@aes-intl.com>
Newsgroups comp.lang.javascript
Subject Can I access event parameters?
Date 2013-10-23 02:30 -0700
Message-ID <uj5f69lc535n3jb8s31mf3vdrv9imagmte@4ax.com> (permalink)

Show all headers | View raw



HTML:
<input id="threshold" type="range" min=0 max=255 step=1 value="0" 
onmouseUp="change_values('thr');" 

onchange="document.getElementById('base_box').innerHTML= (var1+
this.value*(var2 - var1)/255).toFixed(1);"
>
I'm trying to dynamically change the values of var1 and var2 in the above
using  javascript. I don't have a clue how. I'd be grateful for the
solution, but I'll be just as grateful knowing whether it can or can't be
done. 

Thanks.

-- 
Ed Jay (remove 'M' to reply by email)

Win the War Against Breast Cancer.
Knowing the facts could save your life. 
http://www.breastthermography.info

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Can I access event parameters? Ed Jay <edMbj@aes-intl.com> - 2013-10-23 02:30 -0700
  Re: Can I access event parameters? JJ <duh@nah.meh> - 2013-10-23 19:35 +0700
    Re: Can I access event parameters? Ed Jay <edMbj@aes-intl.com> - 2013-10-23 07:18 -0700
      Re: Can I access event parameters? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2013-10-23 16:37 +0100
        Re: Can I access event parameters? Ed Jay <edMbj@aes-intl.com> - 2013-10-23 09:09 -0700
          Re: Can I access event parameters? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2013-10-23 17:43 +0100
            Re: Can I access event parameters? Ed Jay <edMbj@aes-intl.com> - 2013-10-23 10:16 -0700

csiph-web