This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 60785
    
  65

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: 60785
    
  65

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
 
Similar Threads
unable to get response from payment website
JQuery Slider Issue in Value Resetting
Problem on getting values from a radio buttons group
Textarea not being passed OK through form
JSP attendance management project error