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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:43:32+00:00 2026-05-29T23:43:32+00:00

Greeting.. In Browser Html is <div tabIndex=0 title=People Picker class=ms-inputuserfield>Administrator</div> i want to replacewith

  • 0

Greeting..

In Browser Html is

<div tabIndex="0" title="People Picker" class="ms-inputuserfield">Administrator</div> 

i want to replacewith look like

<a href='#'> <div tabIndex="0" title="People Picker" class="ms-inputuserfield">Administrator</div></a>

i tried to so much for make this. not succeed yet.
plz Help me.

i try by this code :

 var list = $("<a href='#' />");
 $(list).wrapInner($('#maindiv').html())
 $('div.ms-inputuserfield').replaceWith(list);

i knew that i am going wrong way.its replace by anchor.

  • 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-29T23:43:33+00:00Added an answer on May 29, 2026 at 11:43 pm

    you could do

    $('div.ms-inputuserfield').wrap('<a href="#"/>');
    

    EDIT – fiddle here http://jsfiddle.net/QUcux/

    If it’s not working, remeber that you must put it in document.ready()

    $(document).ready(function(){
        $('div.ms-inputuserfield').wrap('<a href="#"/>');
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The html code source order should look like this: <body> <div>col2</div> <div>col3</div> <div>col1</div> <div>col4</div>
I want to make an iPhone app that shows many greeting cards, I like
I'm trying something like this Output.py print Hello Input.py greeting = raw_input(Give me the
in jsf2 if we have some function like public String greeting(String gtr) { return
I would like to know how to display the greeting message Welcome User, You
I have a model as follows: class Greeting < ActiveRecord::Base attr_accessible :headline, :icon, :content
Groovy has a concept of GStrings. I can write code like this: def greeting
If I have an XML document like this: <root> <elem name=Greeting> Hello </elem> <elem
I am pretty new to php world. I wrote the following: <html> <head> <title>It
Greeting everyone. I've working a java program. I want to change the background of

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.