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

  • Home
  • SEARCH
  • 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 947073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:01:24+00:00 2026-05-15T23:01:24+00:00

I have an input field where a user can paste a link. I would

  • 0

I have an input field where a user can paste a link. I would like to have a div appear as soon as the user adds a URL to the input field.

Until now I used .blur and .onfocus, but the div only appears once I click outside the input field after pasting the URL.

It’s like on Facebook: as soon as you paste a link it will load a box without reloading the page.

  • 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-05-15T23:01:24+00:00Added an answer on May 15, 2026 at 11:01 pm

    .blur is the opposite of .focus — it triggers when the specified field loses focus. You need to use something that triggers every time a key is pressed, like .keyup

    Note that .change will not work — it also only fires when the field loses focus

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

Sidebar

Related Questions

I have an input edit field where the user can enter data. I want
I have a input field with a name attribute like field[subkey][subkey2] How can I
Basically, I have a user input field where a user can enter a number.
I have an input field which a user can type into. This input also
Stuck with a silly problem. I have an input field, where user can input
TABLE bcompany companyID | cName | ... I have the input field, where user
I have a text input field which i have made readonly so the user
I have a form input field that accepts multiple tags from a user, a
I have an input where the user can enter an HEX value. The #
I have an input field which I want to restrict so that the user

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.