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) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -