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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T10:54:03+00:00 2026-06-09T10:54:03+00:00

I have simple javascript function: <form id=form1 runat=server> <script type=text/javascript> function doSomething(message) { var

  • 0

I have simple javascript function:

<form id="form1" runat="server">
    <script type="text/javascript">

         function doSomething(message) {
        var div1 = document.getElementById('div1');
        div1.innerHTML = 'afas';
    }

    </script>

<telerik:RadButton ID="btnShowUpload" runat="server" OnClientClicked="doSomething('test1')"  Text="Upload file">
    </telerik:RadButton>

When I set breakpoint in function OnClientClicked and start by F5 and then click button, application doesn’t stop at breakpoint. It only stop when I run my project by Start without Debug and then in Mozilla (firebug) I can set breakpoint in this function and it stop when I press button. How to debug in Visual? not in Mozilla ?

Thanks

  • 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-09T10:54:07+00:00Added an answer on June 9, 2026 at 10:54 am

    Right-click on a page in your project, such as Default.aspx, and select the Browse With… menu item.

    When the dialog is displayed, select Internet Explorer, then click the Set As Default button, then press the cancel button.

    Open internet explorer, go to the Internet Options dialog, click on the Advanced tab and ensure that under the Browsing section, Disable script debugging (Internet Explorer) is NOT checked.

    Then, to force debugging, you can add the javascript debugger; line to the body of your javascript method:

    function doSomething(message) {
       debugger;
       // rest of your code
    

    When you debug this way, internet explorer will give you the ability to select which application and instance to use and one of the options will be internet explorer.

    There are also other ways to attach the debugger to an instance of internet explorer from within a Visual Studio web application project, such as selecting Attach To Process… from the Debug menu and selecting the instance of iexplore.exe that has a type of Script listed in the type column and that is running the page you are interested in debugging.

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

Sidebar

Related Questions

I have this simple function: <script type=text/javascript> //<![CDATA[ jQuery(function($){ function here(b){alert(b);} ; here(6); });
Let's say I have some simple Javascript like: <script> var hello = function(){ alert(Hello
I have this simple code: <html> <body> <form name=f1> <asp:Label name=lbl runat=server Text=Label onclick=lblClick()></asp:Label>
Consider we have a simple cycling Javascript process as: function test() { el=document.getElementById("test"); var
I have this simple code that speaks for itself. <script language='javascript"> function check() {}
I'm working on a simple JavaScript validation function for a html form, but have
I have a simple form: <form id=formTest name=formTest action= method=get> <input id=txtPostcode name=Postcode type=text
I have simple form set up like the following: <form> <input type=text name=first_number id=first_number
let's say I have a simple javascript like so: $(document).ready(function(){ if(login == 1) {
I have a very simple html page with the following javascript in it $(function()

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.