Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using javascript in a form

Status
Not open for further replies.

krichard

Technical User
Dec 5, 2001
41
US
Hello...

I have this slider bar that i got online... it works great, BUT I want to put it into a form, so that i can take the values that i get from the slider bar and insert them into a table ...

I'm not sure how to do this... I wrote the person who created the script and told me this...

as long as the slider is in a page with a form,
just post the form and your weights will be there. In SliderDraw.js, there is a function called SliderWriteInputs() that gets called in the onload event of the body tag. This creates the form elements. In SliderWeights.js, the
function SliderSaveElements() keeps the hidden element values current.

Ok... i am really lost here! I implement scripts in my website occasionally, but I have never edited one. This is a little out of my league... there are like 4 script files that go along with this file... I am using ColdFusion to insert the data from the forms into my Database..

Any advice on this would be much appreciative.. I would even pay someone to just do it for me!!! heh if its' not going to be too much work..

Thanks sooo much!!

The website where the form is located is...


Click on the Newbury Street Link, and then just follow the links through... when u see a Rate US link on the review page, click there, and you will see my Slider bar...
 
This is more of a Cold Fusion question than a JavaScript question. You need to find out what the script is naming the hidden fields. Then you can retrieve the value by using #form.hiddenFieldName# in your Cold Fusion code. If you are using Internet Explorer, you may be able to see what the hidden fields are named by putting javascript:alert(document.body.innerHTML) in the Address bar. Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top