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 8687635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:10:06+00:00 2026-06-12T23:10:06+00:00

http://lrroberts0122.github.com/DWS/lab6/level-3/index.html http://lrroberts0122.github.com/DWS/lab6/level-3/js/script.js What I’m trying to do: For the field Your Profile Link I

  • 0

http://lrroberts0122.github.com/DWS/lab6/level-3/index.html

http://lrroberts0122.github.com/DWS/lab6/level-3/js/script.js

What I’m trying to do: For the field “Your Profile Link” I am trying to make it so that the text entered dynamically appears after “fitandawesome.com/” so that it shows the user’s profile link.

Okay, so this is what I’ve added, and according to sources, this should work. Why doesn’t it? If anyone could help me out I’d be greatly appreciate it. I’m not too savvy with JavaScript!

Update Okay, so I got it to work by putting the script in the body instead of the head. I’m still having and issue however, because it’s kind of “laggy.” It doesn’t display the last letter typed. Anyone know how to fix 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-12T23:10:07+00:00Added an answer on June 12, 2026 at 11:10 pm

    You need to call the script.js once the DOM has loaded. There’s 2 ways of doing this:

    1. link your script.js at the end of the body.
    2. Use jQuery event listener to run the code once the page has loaded.

    .

    $(function(){
        $('#profile_link').keypress(function(){
            $('#preview').text($(this).val());
        });
    })
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

http://dl.dropbox.com/u/18795563/index.html How do i make the sidebar on the right the same height as
http://developer.android.com/guide/topics/manifest/service-element.html#proc What are the differences? If the name assigned to this attribute begins with
http://markallanson.net/wordpress/index.php/category/rsmb/ I was trying to follow the above link for setting up mqtt as
http://jsbin.com/uxepap/3/edit Here is div with links inside. I'm trying to replace comma inside last
http://www.fireviews.com/testing/tabs_and_toggles.html The buttons with + signs are supposed to be drop-down toggles, and the
http://marianoagency.com/intranet/trial.html Everything works fine until I start typing any of the sample tags (like
http://developer.yahoo.com/javascript/howto-proxy.html Are there disadvantages to this technique? The advantage is obvious, that you can
http://jsbin.com/oqotew/edit#html,live If you visit the link above when you have a wide browser window,
http://developer.android.com/training/basics/firstapp/building-ui.html I have been following this tutorial, but I have two errors, both R
http://pastebin.com/25CwPDB2 <-- Index.php http://pastebin.com/4ZTvy0kk <-- /system/Main.php This seems to happen on both a Windows

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.