TextBox « HTML « JSP-Servlet Q&A





1. calling same function for dynamically created textboxes in jsp    stackoverflow.com

this is my jsp page\

<%@ page import="java.sql.*" %> 
<html>
<head>
<script type="text/javascript" src="global.js" ></script>
<style type="text/css">
/*<![CDATA[*/
 table.c13 {background-color:#CCCCCC}
 td.c12 { background-color: #FFFF00}
 td.c11 { background-color: yellow}
 td.c10 {color: #FF0000}
 td.c9 { color: #FF0000}
 div.c8 ...

2. Add value to a textbox dynamically    stackoverflow.com

Jsp

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <script type="text/javascript" language="Javascript" >

     ...