K
Kermit Piper
Hello,
I have a script which populates a second drop-down list based on the
value of the first
(States-->Cities). This is pulling from a table and along with the
Cities are corresponding tax rates. What I need to do is parse out the
tax rate (i.e. .0825) and populate a textbox with this value. If
someone can show me an example of how I could handle this I would
greatly appreciate it. The part I'm really unsure of is how I would
parse out the value? Would it be best to just display the tax rate
along with the city and so some kind of substringing or is it possible
to pass the tax rate value which is pulling from a separate column in
as a hidden value? I think the latter would be preferable.
Thanks,
KP
I have a script which populates a second drop-down list based on the
value of the first
(States-->Cities). This is pulling from a table and along with the
Cities are corresponding tax rates. What I need to do is parse out the
tax rate (i.e. .0825) and populate a textbox with this value. If
someone can show me an example of how I could handle this I would
greatly appreciate it. The part I'm really unsure of is how I would
parse out the value? Would it be best to just display the tax rate
along with the city and so some kind of substringing or is it possible
to pass the tax rate value which is pulling from a separate column in
as a hidden value? I think the latter would be preferable.
Thanks,
KP