Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Amit Vakodkar
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64691
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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(){ " ?
 
Amit Vakodkar
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64691
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic