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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T02:41:03+00:00 2026-06-11T02:41:03+00:00

My html5 code is <div id=tablpolicy align=middle> <div class=policydiv> <div class=left> <span>Policy No.</span> </div>

  • 0

My html5 code is

     <div id="tablpolicy" align="middle">
                    <div class="policydiv">
                        <div class="left">
                            <span>Policy No.</span>
                        </div>
                        <div class="right">
                            <label for="policyno" data-inline="true" id="policylbl"></label> 
                        </div>
                    </div>
                    <div class="policydiv">
                        <div class="left">
                            <span>Quote No.</span> 
                        </div>
                        <div class="right">
                            <label for="quoteno" data-inline="true" id="quotelbl"></label>
                        </div>
                    </div>
                    <div class="policydiv">
                        <div class="left">
                            <span>Product Name</span>
                        </div>
                        <div class="right">
                            <label for="productname" id="productlbl"></label>
                        </div>
                    </div>
</div>

and my jquery code is

 $.ajax({
        type:"GET",
        url:"webservices.xml",
        contentType:"text/plain; charset=UTF-8",
        success: function(data){
  var renewpolicy=  $(data).find("renewpolicy");
            var quotenumber=$(renewpolicy).find("QuoteNumber").text();
            var policyno=$(renewpolicy).find("PolicyNumber").text();
            var custid=$(renewpolicy).find("custid").text();
            var productname=$(renewpolicy).find("ProductName").text();
}
})

i parsed xml file and get quotenumber,policyno,custid,productname value.Now i want to disply these tags value on the above respective labels in the table.How to set these xml tags value to the abobe labels and which event should i have to use?can we use any query string for this? please help me.
Thanks in advance!!

  • 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-11T02:41:04+00:00Added an answer on June 11, 2026 at 2:41 am

    in the success callback put the following.

    $("#quotelbl").html(quotenumber);
    $("#policylbl").html(policyno);
    $("#productlbl").html(productname);
    

    I can’t see where your customerId label is though.

    $("#quotelbl") is the jQuery selector. Here you put the name of your label with a hash in front.

    .html() this is a jQuery function that either returns the html of an attribute, or if you pass a value into it, sets the html.

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

Sidebar

Related Questions

With the Facebook Login Button, the HTML5 version needs the code <div class=fb-login-button data-show-faces=true
HTML code: <div class=goleft> AD 300x250 size </div> <div class=itemImageBlock goleft> <span class=itemImage> <img
I am using HTML5 Video with this code: <div id=lightBox1 class=lightBox> <video id=video controls
HTML code: <div class=clearfix style=color: #555 style=display:block; > <input type=text id=id_site placeholder=nom-du-site style=width: 245px;
My html code is: <div title=test class=xyz>Tesing</div> I want it to look like: <a
I have this HTML code: <div class='com_box'> <div class='com_box_c'> <div class='com_box_info'> <a id='quote'>quote</a> </div>
I'm using the Facebook send plugin (the HTML5 code) with the following code: <div
Let say, I have code as follow <div id='tes' data-name='baloon'>Content Baloon</div> <div id='tes' data-name='big'>Content
I have the following code: <div id=elm0 data-color=color data-size=size data-more=more>something</div> <div id=elm1>This element must
thats my Code - it's the new HTML5-Way to include the JS-FB-Api: <div id=fb-root></div>

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.