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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:09:35+00:00 2026-05-13T07:09:35+00:00

I have these functions: function clear(txtvalue) { } function EnableValue (txtvalue, rfvValue) { }

  • 0

I have these functions:

function clear(txtvalue)
{

}

function EnableValue (txtvalue, rfvValue)
{

}

    <asp:Button ID="btn1" runat="server" OnClick="btn1_Click" onclientClick =" return clear('"+txtValue.ClientID+'"); Text="Button" />

<asp:Button ID="btn2" runat="server" OnClick="Button1_Click" onclientClick ="return EnableValue ('"+txtValue.ClientID+'",'"+rfvValue.ClientID+'")"; Text="Button" />

I have two functions where I am trying to send an value from my .aspx page (button)
to a JavaScript file.

I get an error telling server tag is not well formed.

What is the issue here?

  • 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-13T07:09:35+00:00Added an answer on May 13, 2026 at 7:09 am

    Hai prince,

    "return clear('" + txtValue.ClientID + "');"
    
    "return EnableValue ('" + txtValue.ClientID + "','" + rfvValue.ClientID + "');"
    

    and see what happens whether you can get value of it in javascript function…

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

Sidebar

Related Questions

I have in my javascript these 2 functions classes: // product class function Product()
I do not understand the following example, let's say I have these functions: #
I have these two functions (with Point2D & LineVector (has 2 Point2D member variables)
Alright this is my first day with JQuery so have fun with these functions
I have made a map of functions. all these functions are void and receive
I have 3 function in my class B. These three function have to access
I have looked at the documentation on MSDN about these 2 functions. However, I
I have added a function to functions.php on my theme. function insertAds($content) { $content
i have custom cell with 2 buttons(the function of these buttons is just to
I have main.cpp (including main function) and func1.cpp, and I want to link these

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.