Home TechnologyProgrammingJava Subscribe to RSS

How Can I Use Javascript In Asp.net?

Answer Question

2 Answers - Sort by: Date | Rating

    The JavaScript is used in ASP.NET page. If you want to use JavaScript in asp.net then you have to first describe the block of script which provides the JavaScript functions. You can add this directly in to the HTML page, but it is usually more influenced to take the JavaScript code to a string variable and insert it into the required page programmatically. When you insert the block of script in your program then use alternative of the Page. The JavaScript code will display at once and in the next time your page will be send back to you. In the second case, the JavaScript code will not display except that you connect the client-side.

    The client-side is an event of some sort of different control of the JavaScript function. But it is better for you that don't need to sacrifice ASP. Net's secured. The server-based model is use for the large size of your coding so just fill in the gaps with a little rush of the client-side magic. The JavaScript code provides the function attribute of the HTML Form tag that will be changeable for the client. It is the information available electronically of sending that create the reason of the most serious problems for ASP.NET.
    0 0

    Virgo 

    answered 3 years ago

      Once you start a new asp.net project it will ask type of scripting language also. So select javascript there. By default VBscript will be there. Then proceed with the scritpting based on your functionalities
      0 0

      Jpvpeter 

      answered 2 years ago

        More

        More

           
           

          Ask a Question via Twitter

          Send a question to @askblurtit and we will publish it online and send you a reply everytime you receive an answer.

          Blurtit Store

          Get T-shirts, hoodies, caps and more at the Blurtit store