Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7923297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T17:16:19+00:00 2026-06-03T17:16:19+00:00

I am writing a jQuery script that needs to work with an existing unchangeable

  • 0

I am writing a jQuery script that needs to work with an existing unchangeable plugin. This plugin listens for text being typed into an <input type='text'> and then processes the result. I can’t alter this. My script is setting the text of the input via $('#display).val(newValue); as a jQueryUI Slider is dragged. I need the plugin to recognize this value as being typed by the user so that it processes the newValue as the slider is dragged.

Can anyone point me in the write direction for this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T17:16:22+00:00Added an answer on June 3, 2026 at 5:16 pm

    You probably need to ‘trigger’ the keyup (or keypressed?) event so that the event handler is fired.

    Here is one (slightly dirty) way to do it:

    var e = jQuery.Event("keyup");
    e.which = 50; // # Some key code value
    $("#display").trigger(e);
    

    Note that the plugin may be looking for particular keys, and I may have guessed the event wrong.

    The more sophisticated way to do it would be to track down the plugin’s event handler, and then invoke it directly. FireBug may help you find it by step-through debugging. Otherwise, you can use jquery to start inspecting the input’s event handlers.

    var events = $('#display').data("events");
    jQuery.each(events, function(key, handlerObj) {
      console.log(handlerObj); // alert(handlerObj);
    });
    

    Once you’ve found the relevant handler, you can invoke it directly.

    HTH

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a simple GreaseMonkey script that has a jQuery plugin called hoverIntent
I am writing a small jQuery animation script that simulates a delivery man walking
In a asp.net/c# web application I am writing a jQuery script. I have an
I am working on a ASP.NET/C# web application. I am writing a Jquery script.
I am writing an ajax script in jQuery. The script gets new or previous
I am writing a greasemonkey script. The site is using jquery, i need a
I am writing jquery ajax code to call wcf service. In this case WCf
I am writing a jQuery plugin and I am at the optimization stage. I
I'm curious what's the view on things that compile into javascript e.g. GWT, Script#
I'm writing a class that needs to attach event listeners to objects within a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.