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

The Archive Base Latest Questions

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

I have the below JQuery script <script type=text/javascript> $(function() { $(#no-email-popup).dialog( { autoOpen: false,

  • 0

I have the below JQuery script

<script type="text/javascript">
     $(function() {
         $("#no-email-popup").dialog(
             {
                 autoOpen: false,
                 buttons: {
                     "ok": function() {
                     alert($('#new_email').val());
                     alert(window.top.$("#new_email_label.").val());
                   //  alert(window.top.$("#<%= new_email_label.ClientID %>").val());
                         $(this).dialog("close");

                     },
                     "cancel": function() {
                         $(this).dialog("close");
                     }
                 }

             }
        );
     });
</script>

And and modal asp.net is

<div id="no-email-popup">
<label>Enter Email: </label>
<input type="text" id="new_email" />
</div>  

I want to get the value from Pop up back to to asp.net page and assign to label there

<asp:Label ID="new_email_label" runat="server">test top window label</asp:Label>

I found out that I cannot change the value of this label even

Please help how to get value to top asp.net 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-06-18T02:41:16+00:00Added an answer on June 18, 2026 at 2:41 am

    Using .val() on a <label/> won’t give you the inner html of said label. You would need to use .html() to retrieve it, or .html("something") to set it.

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

Sidebar

Related Questions

I have some jQuery/JS below. The first thing to run is the alert box
I have this javascript code below that uses jquery, it is suppoed to be
I have below html code <div id=divTest> Hello <input type=text id=txtID value= /> <input
I have some code below: <!doctype html> <html lang=en> <head> <meta http-equiv=Content-Type content=text/html; charset=utf-8
I have a jquery form spinner script that generates text fields based on user
Below is a jquery script I am working on, I have stripped down all
I have the jQuery below http://jsfiddle.net/XMdYw/7/ var elements = ''; var ELEMENT_COUNT_PER_PAGE = 301;
I am trying to fetch wcf service from jquery. I have written below code
hey everyone, here is the site SEE BELOW I have a slight jquery problem
I have a Jquery Accordion and I have a asp.net GridView below that. When

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.