Response.Write("<script>window.location ='aaa.aspx';</script>"); 
 Response.Write("<script>top.location.href='login.aspx';</script>");
 I did it myself ,Response.Write(" <script type=text/javascript> alert('ddd'); </s"+"cript> ");
Change it to this way
http://www.cool80.com/Demonstrate/465/
http://www.cool80.com/
http://www.kehu51.com/?baidulh

aspx How to add javascript More articles about

  1. C# Development ActiveX plug-in unit -aspx Embedded in

    Just arrived at a new company , Let me familiarize myself with what they use in the first week silverlight and arcgis. This week , I was assigned a small task yesterday ! I don't know which project , It's for me to achieve a goal in aspx Embedded in activeX plug-in unit ! I found it on the Internet ...

  2. aspx Form validation in jquery.validate.js Use as well as jquery.validate Related extension verification (Jquery Form submission verification plug in )

    In this issue, we'll start with aspx Use in jquery.validate Plug in for form validation , About MVC Use in validate We'll talk about it in the next issue     Above is the effect , Here are the steps jQuery.Valid ...

  3. 【JavaScript】javascript The Sino puppet agreement (javascript:) Use to explore

    javascript: This particular protocol type declares URL The subject is arbitrary javascript Code , It consists of javascript The interpreter runs . For example, the following dead link : <a href="javasc ...

  4. JavaScript The Sino puppet agreement javascript: Research

    take javascript The way code is added to the client is to put it in the pseudo protocol specifier javascript: After URL in . This particular protocol type declares URL The subject is arbitrary javascript Code , It consists of javascript Of ...

  5. JSP Commonly used in programming JavaScript technology ( Reprint )

    1.<tronMouseOver=this.style.backgroundColor=’#FFFFFF’ onMouseOut=this.style.backgroundColor=”> ...

  6. ASP.NET The background doesn't recognize ASPX Control in

    Excuse me, the backstage doesn't recognize ASPX Control in , How to solve This program is downloaded from the Internet C# code <asp:DataGrid runat="server" ID="dgList1& ...

  7. How to be in FineUIMvc Third party is quoted in JavaScript library

    Statement :FineUIMvc( Basic Edition ) It's free software , This series of articles is suitable for the basic edition . Introduce a third party color selector stay FineUIMvc Use third party JavaScript Follow certain conventions , It's very simple . Let's take the official website as an example ...

  8. iOS Dynamic Injection JavaScript Method . Dynamic to html Tag add event

    There is a requirement in the project , to html5 Add click events to images on the web page , And pop up the corresponding image of the click , And you can keep the image local You may come up with a lot of ways to meet this demand . 1. The easiest way is to html5 Add picture to ...

  9. About the development and debugging process of the Firefox browser , appear javascript:void(0) The state of

    About the development and debugging process of the Firefox browser , appear javascript:void(0) The state of Because it's not installed Adobe Flash Player 19 NPAPI This plugin After installation, you can run it directly

Random recommendation

  1. BZOJ4567[Scoi2016] recite words

    4567: [Scoi2016] recite words Time Limit: 10 Sec Memory Limit: 256 MB Submit: 304 Solved: 114 [Submit][Status] ...

  2. burning ARM Development board system tutorial -----&gt;uboot 、 Kernel and file system

    One .sd start-up take u-boot Mirror write SD card , take SD Connect the card reader to the computer ( Or insert it directly into the notebook card slot ), adopt "cat /proc/partitions" find SD The device corresponding to the card , My device node is ...

  3. Watering Grass

    Topic link :http://acm.hust.edu.cn/vjudge/contest/view.action?cid=85904#problem/E The question : Given a lawn , There are... On the lawn n A sprinkler . The lawn is long ...

  4. Scrum project 4.0-- Software Engineering

    1. Prepare Kanban . 2. Mission claim , And mark the claim on the task tag on the Kanban . Lin Yucan : Processing data storage : At present, we should analyze and create the database table first . Cai Shun : For compound interest calculation , Simple interest calculation , Code to write . Wang Xinming : Write some user login , operation ...

  5. Android(java) Learning notes 179:BroadcastReceiver And Orderly broadcasting and disorderly broadcasting (BroadcastReceiver priority )

    We were in Android(java) Learning notes 178 The custom broadcast in is out of order , Now let's take a look at orderly broadcasting :   1.   Let's first understand the difference and connection between orderly broadcasting and disordered broadcasting ? (1) Ordered broadcasting > The recipient ...

  6. OpenGL ES 2.0 Transformation

    The basic transformation is accomplished by multiplying the vector representing the point coordinates with a specific transformation matrix . In matrix based transformation , The position of the midpoint in the three position space needs to be expressed in the form of homogeneous coordinates . Homogeneous coordinate form : stay X.Y.Z3 Add the fourth quantity after the first coordinate value W, When not transformed W It's worth one ...

  7. be based on visual Studio2013 solve C One of the questions in the language contest 0507 Screening primes

     subject

  8. BAT: Replace characters in the file ( Keep spaces and wrap )

    @echo off rem CMD:"color --help" :: setting color:back white,content blue color f9 ::old s ...

  9. [ turn ] install npm Global package prompt permission is not enough

    Method 1 sudo npm i -g npm Method 2 modify usr/local Authority . Use sudo There is a risk that the installation package may run some of its own scripts , send sudo The operation became uncontrollable , unsafe . It can be done by putting /usr/loca ...

  10. MySQL Several cases of index failure

    1. Index does not store null value More precisely , Single column index does not store null value , The composite index does not store all for null Value . Index cannot store Null, So for this column, use is null When the conditions , Because the index is basically no Null value , Can't use index , ...