wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Jquery Slider -  Form to be submitted with value of the slider when sliding is stopped Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Jquery Slider -  Form to be submitted with value of the slider when sliding is stopped" Watch "Jquery Slider -  Form to be submitted with value of the slider when sliding is stopped" New topic
Author

Jquery Slider - Form to be submitted with value of the slider when sliding is stopped

Amit Vakodkar
Greenhorn

Joined: May 28, 2007
Posts: 10
I have a Jquery Slider Widget on stop function i need to pass the values from the slider to fetch the result based on that value which needs values to be sent to the server.

I tried this:


& this



Am not sure about how this works.

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61095
    
  66

Please don't add your own line numbers to your posted code. It makes the code surprisingly hard to read.

What is your intention for this line of code; " $("form").submit(function(){ " ?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Amit Vakodkar
Greenhorn

Joined: May 28, 2007
Posts: 10
Bear Bibeault wrote:Please don't add your own line numbers to your posted code. It makes the code surprisingly hard to read.

What is your intention for this line of code; " $("form").submit(function(){ " ?



Am Sorry about the Line Nos.. I thought of submitting the form, but this is not helping out.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61095
    
  66

The jQuery submit() method does not submit the form. It establishes a submit handler.

If you wan tot submit the form, call the submit() method of the form element itself.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jquery Slider - Form to be submitted with value of the slider when sliding is stopped