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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:31:47+00:00 2026-05-17T23:31:47+00:00

Suppose i have created one .js file name as: MyNoteBook.js. In this .js file

  • 0

Suppose i have created one .js file name as: MyNoteBook.js. In this .js file i have written function as name count().
Now I am creating MyNoteBook.aspx page in asp.net. On the event of pageload of .aspx file, i want to call that count() function of that .js file. Is it is possible, If yes then please tell me.

If no, then how i can write count function in .aspx 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-05-17T23:31:47+00:00Added an answer on May 17, 2026 at 11:31 pm

    To call a JS function on page load, make sure there is an onLoad attribute on the body tag that calls it:

    <body onLoad="count();">
    

    This all happens client side, as Javascript runs in the browser.

    You can’t call a client side function from server side code.


    As for writing the function server side – without knowing what it does, no one can tell you how to convert it to server side code.

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

Sidebar

Related Questions

I can't understand one thing. Suppose I already have these coded entities: [Table(Name =
Suppose I have a stringbuilder in C# that does this: StringBuilder sb = new
Suppose I have the following CSS rule in my page: body { font-family: Calibri,
Suppose I have two applications written in C#. The first is a third party
Suppose I have wrote script Table_ABC.sql which creates table ABC. I have created many
there i have created a program with a tab button and page number. all
Suppose that i have 2 objects, where each one has a particular slot numbered
Suppose I have a stored procedure that manages its own transaction CREATE PROCEDURE theProc
Suppose I have BaseClass with public methods A and B, and I create DerivedClass
Suppose you have 2 different ASP.NET applications in IIS. Also, you have some ASCX

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.