Monday, April 20, 2020

How to run javascript inside a JSP scriplet


By writing your js code within <script></script> tag inside out.println() has shown below:

<%
    if( a > 9)
   {

         out.println("<script>document.getElementById('rd"+(a+1)+"').disabled=true;</script>");

   }

%>







No comments:

Post a Comment

How can I run a C++ program directly from Windows?

How-can-I-run-a-C-program-directly-from-Windows