html - ASP javascript write at the point of execution -


I am trying to develop a simple back-end widget for asp. Since I'm new to ASP, I have chosen JavaScript as ASP language. I think I do not have the right tools for writing output. Response Type () at the beginning of the page sends the output directly What am I missing here? I have made his code:

    

which is giving the following output:

  Hello JS    

There is a very good answer on this subject but basically if you want to change it The above code block is as follows;

  & lt ;! DOCTYPE html & gt; & Lt; Html & gt; & Lt; Body & gt; & Lt; H2 & gt; Hello World & lt; / H2 & gt; & Lt;% Call Response Write ("Hello JS"); & Gt%; & Lt; / Body & gt; & Lt; / Html & gt;   

You can & lt;% = "Hello JS"%> as the short form of Response.Write can change the line above the code () method.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

c# - passing input text from view to contoller with FacebookContext using Facebook app -

Calling a C++ function from C# by passing a string with variable size to it -