• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic