Home Answers Viewqa Ajax ajax code please help to solve this.

 
 


rahulmohanty
ajax code please help to solve this.
2 Answer(s)      a year and 2 months ago
Posted in : Ajax

in this i am trying to get data from datbase and put it in combo box and then display it down using table and use ajax onchange but when i am trying to do so it show some error

viewapplicants.jsp

<a href="birth.do?submit=applicantsforbirthcertificate">Applicants for Birth Certificate</a>

when i am clicking this it goes to database and retrieve

viewbirthapplicants.jsp

<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>



<jsp:directive.page import="p.form.BirthForm"/>
<jsp:directive.page import="java.util.ArrayList"/>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Name       : Rain on Leaves  
Description: A two-column, fixed-width design with dark color scheme.
Version    : 1.0
Released   : 20101114

-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Rain on Leaves   by Free CSS Templates</title>
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />

<script type="text/javascript">
var ob;
  function fun(str)
   {
      try
         {
            ob=new XMLHttpRequest();
         }
       catch(e)
         {
            try
                {
                    ob=new ActiveXObject("Msxml2.XMLHTTP");
                }
            catch(e)
            {

             try
                {
                    ob=new ActiveXObject("Msxml2.XMLHTTP");
                }
                catch(e)
                {
                    alert("browser exception");
                    return false;
                }
          }
    }

  function fun5()
    {
        if(ob.readyState==4)
            {

                document.getElementById("result").innerHTML=ob.responseText;
            }
       }
  alert(1);
  ob.onreadystatechange=fun5;
  var url="/mc/birth.do";

  url=url+"?id="+str;

  url=url+"&s="+Math.random();
  ob.open("GET",url,true);
  ob.send();
  alert(2);


   }              
</script>

</head>
<body>
<div id="wrapper">
    <div id="menu">
        <ul>
            <li class="current_page_item"><span>
            <a href="adminhome.jsp">Home</a></span></li>
            <li><a href="contactus.jsp">contact us</a></li>
            <li><a href="aboutus.jsp">about us</a></li>

            <li><a href="help.jsp">help instruction</a></li>

        </ul>
    </div>
    <!-- end #menu -->
    <div id="header">
        <div id="logo">
            <h1><marquee behavior="alternate"  scrollamout="5"><center></center><em>
<FONT face="Algerian" size="6" color="yellow">Municipal Corporation (MC)</FONT></em></center></marquee><br /></h1>
            </div>
    </div>
    <!-- end #header -->
    <div id="page">
        <div id="content">
            <div class="post">
                <h2 class="title"><a><marquee loop="1" behavior="slide"><font face="Forte" color="white" >VIEW BIRTH APPLICANTS</font></marquee></a></h2>

                     <ul>

                      <li><a href="viewapplicants.jsp">View Applicants Details</a></li>

                       </ul>
                       <br />
                       <br />
                       <br />
                       <br />
                       <br />

                       <html:form action="birth">
                       <table>
                        <% 
                        ArrayList<String> id=(ArrayList<String>)request.getAttribute("ID");
                        ArrayList<String> birthregno=(ArrayList<String>)request.getAttribute("BIRTH_REGISTRATION_NO");
                         %> 
                        <tr>
                        <td>Birth Reg No</td>
                        <td><html:select property="id" onchange="fun(this.value);">
                            <%
                               for(int i=0;i<id.size();i++)
                                   {
                                     %>
                                       <html:option value="<%=id.get(i) %>"><%=birthregno.get(i) %></html:option>
                                  <%} %>
                                 </html:select>
                                 </td></tr>



                   </table>



                   </html:form>

                       <div id="result">


                       <bean:write name="birthForm" property="msg"/> 
                      <bean:write name="birthForm" property="msg1"/>                


                         <div class="post">


            </div>
        </div>
    </div>
</div>          

    <!-- end #content -->
    <div id="sidebar">
            <ul>
                <li>

                    <ul>
                    <marquee loop="1" direction="up" behavior="slide" >
                    <font face="Kristen ITC">

                        <li><a href="workprofile.jsp">Work Profile</a></li>
                        <li><a href="updatewards.jsp">Ward Profile</a></li>
                        <li><a href="updatebudgetdetails.jsp">Budget</a></li>
                        <li><a href="updatehealthandsanitation.jsp">Health and Sanitation</a></li>
                        <li><a href="updatetenders.jsp">Tenders</a></li>

                        </font></marquee>


                    </ul>
                </li>

            </ul>
        </div>
        <!-- end #sidebar -->
    <div style="clear: both;"> </div>
    <!-- end #page -->
     <br />
                       <br />
                       <br />
                       <br />
                       <br />

    <div id="footer">
        <p><FONT color="black">Copyright (c) 2011 . All rights reserved. Design bY Pratyush Mahapatra</FONT></p>
    </div>
    <!-- end #footer -->
</div>

</body>
</html>

BirthAction class

public ActionForward applicantsforbirthcertificate(ActionMapping mapping, ActionForm form,
            HttpServletRequest request, HttpServletResponse response)throws SQLException
    {
        BirthForm birthForm = (BirthForm) form;// TODO Auto-generated method stub
        DBLogic dblogic=new DBLogic();

        ArrayList<String> id=new ArrayList<String>();
        ArrayList<String> birthregno=new ArrayList<String>();

        ResultSet rs=dblogic.Applicantsbirthcertificate();


        while(rs.next())

        {

            id.add(rs.getString("BIRTHID"));
            birthregno.add(rs.getString("BIRTH_REGISTRATION_NO"));

        }

        request.setAttribute("ID", id);
        request.setAttribute("BIRTH_REGISTRATION_NO",birthregno);
        return mapping.findForward("viewbirthapplicants");
    }

    public ActionForward execute(ActionMapping mapping, ActionForm form,
            HttpServletRequest request, HttpServletResponse response)throws  IOException
    {

        BirthForm birth = (BirthForm) form;// TODO Auto-generated method stub

        PrintWriter out=response.getWriter();
        ResultSet rs=null;
        Connection con=null;
        Statement st=null;

         System.out.println(1);
        String id=request.getParameter("id");
         System.out.println(2);
        Long brn=Long.parseLong(id);
         System.out.println(3);
        System.out.println("BIRTH_REGISTRATION_NO:"+brn);

         try

            {
                Class.forName("oracle.jdbc.driver.OracleDriver");
            con=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","bmch","bmch");
                 st=con.createStatement();



                 System.out.println(id);



                 rs=st.executeQuery("select * from BIRTHCERTIFICATE where BIRTH_REGISTRATION_NO="+brn+"");

         System.out.println("id"+brn);

        if(rs.next())
        {

            out.println("<table border='3'><tr>");

            out.println("<th>Date of Birth</th><th>Sex</th><th>Name</th><th>Name of Mother</th><th>Name of Father</th><th>Permanent Address</th><th>Place of Birth</th><th>Hospital/institute Name</th><th>Address</th><th>Name of Town/village</th><th>Name of District</th><th>Name of State</th><th>Religion</th><th>Mother's Education</th><th>Father's Education</th><th>Father's Occupation</th><th>Mother's Occupation</th><th>Age of Mother</th><th>No of Born of Child</th><th>Type of Attention at Delivery</th><th>Method of Delivery</th><th>Birth Weight(in kg)</th><th>Duration of Pergnancy(in week)</th><th>Oder of Birth</th><th>Informant Name</th><th>Address</th><th>Approved</th><th>Reject</th></tr>");      

            out.println("<td>");out.println(rs.getLong("BIRTHID"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("DATE_OF_BIRTH"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("SEX"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("NAME_OF_FATHER"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("NAME_OF_MOTHER"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("PERMANENT_ADDRESS"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("PLACE_OF_BIRTH"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("HOSPITAL/INSTITUTE"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("ADDRESS"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("NAME_OF_TOWN/VILLAGE"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("DISTRICT"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("STATE"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("RELIGION"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("MOTHER'S_EDUCATION"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("FATHER'S_OCCUPATION"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("MOTHER'S_OCCUPATION"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("FATHER_EDUCATION"));out.println("</td>");
            out.println("<td>");out.println(rs.getLong("AGE_OF_MOTHER"));out.println("</td>");
            out.println("<td>");out.println(rs.getLong("NO_OF_BORN_OF_CHILD"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("ORDER_OF_BIRTH"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("INFORMANENT_NAME"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("INFORMANENT_ADDRESS"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("TYPE_OF_ATTENTION_AT_DELIVERY"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("METHOD_OF_DELIVERY"));out.println("</td>");
            out.println("<td>");out.println(rs.getLong("BIRTH_WEIGHT(IN_KG)"));out.println("</td>");
            out.println("<td>");out.println(rs.getString("DURATION_OF_PERGNANCY"));out.println("</td>");

            out.println("<td>");out.println(rs.getString("NAME"));out.println("</td>");


            out.println("<td></tr></table>");

        }
        else 
        {
            out.println("Data not found");
        }
            }
        catch(Exception err)
        {
            System.out.println(err.getMessage());
        }
            return null;

    }   

please help me when i am running this it show an error

exception 

javax.servlet.ServletException: java.lang.NumberFormatException: null
    org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
    org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


root cause 

java.lang.NumberFormatException: null
    java.lang.Long.parseLong(Long.java:372)
    java.lang.Long.parseLong(Long.java:461)
    p.action.BirthAction.execute(BirthAction.java:102)
    org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


note The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs.
View Answers

April 16, 2012 at 5:46 PM


1)country.jsp:

<%@page import="java.sql.*"%>
 <html>
      <head>  
      <script language="javascript" type="text/javascript">  
      var xmlHttp  
      var xmlHttp
      function showState(str){
      if (typeof XMLHttpRequest != "undefined"){
      xmlHttp= new XMLHttpRequest();
      }
      else if (window.ActiveXObject){
      xmlHttp= new ActiveXObject("Microsoft.XMLHTTP");
      }
      if (xmlHttp==null){
      alert("Browser does not support XMLHTTP Request")
      return;
      } 
      var url="state.jsp";
      url +="?count=" +str;
      xmlHttp.onreadystatechange = stateChange;
      xmlHttp.open("GET", url, true);
      xmlHttp.send(null);
      }

      function stateChange(){   
      if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){   
      document.getElementById("state").innerHTML=xmlHttp.responseText   
      }   
      }

      function showCity(str){
      if (typeof XMLHttpRequest != "undefined"){
        xmlHttp= new XMLHttpRequest();
        }
      else if (window.ActiveXObject){
        xmlHttp= new ActiveXObject("Microsoft.XMLHTTP");
        }
      if (xmlHttp==null){
      alert("Browser does not support XMLHTTP Request")
      return;
      } 
      var url="city.jsp";
      url +="?count=" +str;
      xmlHttp.onreadystatechange = stateChange1;
      xmlHttp.open("GET", url, true);
      xmlHttp.send(null);
      }
      function stateChange1(){   
      if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){   
      document.getElementById("city").innerHTML=xmlHttp.responseText   
      }   
      }
      </script>  
      </head>  
      <body>  
      <table border="1">
      <tr><th>Country</th><th>State</th><th>City</th></tr>
      <tr><td>
      <select name='country' onchange="showState(this.value)">  
       <option value="none">Select</option>  
    <%
 Class.forName("com.mysql.jdbc.Driver").newInstance();  
 Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","root");  
 Statement stmt = con.createStatement();  
 ResultSet rs = stmt.executeQuery("Select * from country");
 while(rs.next()){
     %>
      <option value="<%=rs.getString(1)%>"><%=rs.getString(2)%></option>  
      <%
 }
     %>
      </select> 
      </td>
      <td id='state'><select name='state' >  
      <option value='-1'></option>  
      </select>
      </td>
       <td id='city'> <select name='city' >  
      <option value='-1'></option>  
      </select>   
      </td>
      </tr>
      </table>
      </body> 
      </html>

April 16, 2012 at 5:47 PM


continue..

2)state.jsp:

<%@page import="java.sql.*"%>
<%
String country=request.getParameter("count");  
 String buffer="<select name='state' onchange='showCity(this.value);'><option value='-1'>Select</option>";  
 try{
 Class.forName("com.mysql.jdbc.Driver").newInstance();  
 Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","root");  
 Statement stmt = con.createStatement();  
 ResultSet rs = stmt.executeQuery("Select * from state where countryid='"+country+"' ");  
   while(rs.next()){
   buffer=buffer+"<option value='"+rs.getString(1)+"'>"+rs.getString(3)+"</option>";  
   }  
 buffer=buffer+"</select>";  
 response.getWriter().println(buffer); 
 }
 catch(Exception e){
     System.out.println(e);
 }

 %>

3)city.jsp:

<%@page import="java.sql.*"%>
<%
String state=request.getParameter("count");  
 String buffer="<select name='city'><option value='-1'>Select</option>";  
 try{
 Class.forName("com.mysql.jdbc.Driver").newInstance();  
 Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/test","root","root");  
 Statement stmt = con.createStatement();  
 ResultSet rs = stmt.executeQuery("Select * from city where stateid='"+state+"' ");  
   while(rs.next()){
   buffer=buffer+"<option value='"+rs.getString(2)+"'>"+rs.getString(3)+"</option>";  
   }  
 buffer=buffer+"</select>";  
 response.getWriter().println(buffer); 
 }
 catch(Exception e){
     System.out.println(e);
 }
 %>

We have created 3 dependent dropdown. You can create the fourth one similarly.

For the above code, we have used 3 database tables:

1)country

CREATE TABLE `country` (                                 
           `countryid` bigint(255) NOT NULL auto_increment,       
           `countryname` varchar(255) default NULL,               
           PRIMARY KEY  (`countryid`)                             
     )

2)state

CREATE TABLE `state` (                                   
          `stateid` bigint(255) NOT NULL auto_increment,         
          `countryid` int(255) default NULL,                     
          `state` varchar(255) default NULL,                     
          PRIMARY KEY  (`stateid`)                               
        )

3)city

CREATE TABLE `city` (                                    
          `cityid` bigint(255) NOT NULL auto_increment,          
          `stateid` int(255) default NULL,                       
          `city` varchar(255) default NULL,                      
          PRIMARY KEY  (`cityid`)                                
        )









Related Pages:
ajax code please help to solve this........
ajax code please help to solve this.  in this i am trying to get data... null; } please help me when i am running this it show an error... and use ajax onchange but when i am trying to do so it show some error
please help me to solve this question about array
please help me to solve this question about array  write a program...() > 1) System.out.println("It is not character. Please enter...."); } } } Is this code is fruitful for you. +++++++++ knapster +++++++++  
Please Help To Solve My Problem
Please Help To Solve My Problem  PHP I Have 6 Textbox and 1 ok... With B Team when A Team Play With B Team Again Then Generate Error. I Am Solve... Are There Then It's Large Codding So I Need To Help To Another Way To Do
ajax code - Ajax
will help me to do this using java...  Hi Friend, Please visit...ajax code  hi can any body tell me how i can create an autocomplete textbox in java using ajax. For example in google when we type any thing
help me to solve this question
help me to solve this question   A user needs to key in data... name, School, course code, course name, session, semester A user can edit the data... code, course name, session, semester A user can display all the records
Ajax code
Ajax code   I want an ajax code in jsp where selecting a listbox... be from database..Please help me....   1)country.jsp: <%@page import...); } %> For the above code, we have created two tables: 1)country: CREATE
CAN ANYONE SOLVE THIS FOR ME. URGENT HELP NEEDED. PLEASE HELP
CAN ANYONE SOLVE THIS FOR ME. URGENT HELP NEEDED. PLEASE HELP   The Task Write a class whose objects will represent students. The class should have three fields for representing a studentâ??s
CAN ANYONE SOLVE THIS FOR ME. URGENT HELP NEEDED. PLEASE HELP
CAN ANYONE SOLVE THIS FOR ME. URGENT HELP NEEDED. PLEASE HELP   Write a class whose objects will represent students.The class should have three fields for representing a studentââ?¬â?¢s name, this studentââ?¬â?¢s
please help me solve this problem when i am create database connection using servlecontext
please help me solve this problem when i am create database connection using... servletcontext . in this code when i login first time it will exceute sucessfully... understand what is the problem .... the code are as follows. the servlet context
Please help with this code
Please help with this code  I need some help getting the Search method below to work with the menu, and I also cannot figure out how to get my bubble sort to work. I've spent a long time on this and think my brain is just fried
AJAX
, KVARATINGID NUMBER, Sir,please help me.It is utmost urgent.pLEASE HELP ME. Regards   Hi Friend, Try the following code: 1)radiobuttons.jsp: <%@page... ajax. My table is CREATE TABLE HTNEWMETER ( ID NUMBER (10) NOT NULL, METERNO
please help
please help  please send me the code of dynamic stack in java without using the built in functions
help please
file.. Or atleast help me with code here.. I tried checking session alive...help please  hi i am done with register application using jsps servlets htmls. But i couldnt imp one thing that.. Wen u login to ur account browser
Please help me to solve these programs in Python - Java Beginners
Please help me to solve these programs in Python  1. Write a program that prints an n-level stair case made of text. The user should choose the text character and the number of stairs in the stair case
Solve
add the numbers and print the output  There will be 5 numbers (each in a new line) written in a text file. Text file name will be ?input2.txt?. Your Java code should read that text file, add all the numbers and print the output
Ajax Code Libraries and Tools
Ajax Code Libraries and Tools        Code libraries and loots for the development of your Ajax... only with help of AJAX. This page, however, is not about AJAX (or any other
solve this problem
solve this problem  I typed this program and compiled.The program... in table please tell me the solution for thid problem import java.io.*; import... Friend, Here is our code. Check it. import java.io.*; import java.sql.*; import
could anyone please help with the code.
could anyone please help with the code.  protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException...(request, response); } } could anyone please check the code. If i enter
urgent...pleAse help me.....please!
urgent...pleAse help me.....please!  please help me urgent! how can i do dictionary with the use of array code in java, where i will type the word then the corresponding meaning for that word will appear...thanks
Ajax - Ajax
database on that jsp form's textboxes.  Hi friend, Code to help...",url,true) xmlHttp.send(null) } else { alert("Please Select...) { document.getElementById("emp_id").focus(); alert("Please Select
Please Help Now
Please Help Now  i want to put this map in ajax oriented codeigniter website thanks in advance plz help me now plz very urgent
Simple problem to solve - JSP-Servlet
R.Ragavendran.. Thanks for your kind and timely help for the program I have asked... the code for ur kind refernce.. Here it is: EMPLOYEE..."); document.location="FindEmployee.jsp"; alert("Please Enter a Valid ID
validatemail - Ajax
but for emailaddress its entering already existing user also so how can i solve this problem adv thax for ypur help.  Hi Friend, Please send the detailed description for your problem so that we can solve the problem by tracing the code ? From
Simple problem to solve - JSP-Servlet
R.Ragavendran.. Thanks for your kind and timely help for the program I have asked... the code for ur kind refernce.. Here it is: EMPLOYEE..."); document.location="FindEmployee.jsp"; alert("Please Enter a Valid ID
code problem:ajax - Ajax
code problem:ajax  Hi,I am using ajax to populate a select box.for this I am writing out.write("ONE"); like that.it runs fine in firefox.bt not in IE.Can anyone help me out this... thanks
please help me.
please help me.  Please send me a code of template in opencms and its procedure.so i can implement the code. Thanks trinath
Ajax
Ajax  how to include ajax in jsp page?   Hi, Please read Ajax First Example - Print Date and Time example. Instead of using PHP you can write your code in JSP. Thanks
please solve this program
please solve this program  Build a package EMPPACK that contains one stored function Validatesal() and two stored procedures Insertemp() and Getempdetails().The Insert_emp() procedure inserts a particular employee
Please help me.
Please help me.  Hi i am trinath in below there is a url.In that url there is a code of edit a jsp page.I understand that code but only one thing i not get it i.e; What is the work of "id".and what is the data type of id? http
please help me
please help me  Dear sir, I have a problem. How to write JSP coding... before. This name list should get from the database. Please help me. By the way, I'm using access database and jsp code. Thank you
please help me to write a code for this program
please help me to write a code for this program   1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
please help me to write a code for this program
please help me to write a code for this program   1 1 1 1 2 2 1 1 3 4 3 1 1 4 7 7 4 1
help please!!! T_T
help please!!! T_T  what is wrong in this?: import java.io.*; class...("please enter your name:"); name1= input.readline(); System.out.println("please..."+ "name2"+ are+ friends); }   We have modified your code. Check
help me please
help me please  how can i do dictionary with the use of array code in java, where i will type the word then the corresponding meaning for that word will appear...thanks
ajax and jsp code - Ajax
ajax and jsp code  can u please give me the code for retriving the data from database using ajax our requriment is if i select country name in listbox display the corresponding all the states. using jsp and ajax   
Please help me
Please help me  Hi Sir, please send me the code for the following progrems... 1) all sets are integer type: input: set1={10,20,30,40} set2={15,25,35} output: union={10,15,20,25,30,35,40} 2) input: "Hi what
Please can you help
Please can you help  I have a some code which uses a textarea comment...; Please could you change the code so it will do this Please. Many thanks. Colin... a new line rather than replacing it. Here is the code: <html> <
please help me to give code - Java Beginners
please help me to give code  Write a function with a signature cheerlead(word) that prints a typical cheer as follows. The word robot: Gimme an R Gimme an O Gimme a B Gimme an O Gimme a T What did you give me? ROBOT
please help me to give code - Java Beginners
please help me to give code  Write a function, sliding(word, num)that behaves as follows. It should print out each slice of the original word having length num, aligned vertically as shown below. A call to sliding(examples, 4
Not sure whats wrong with my code HELP PLEASE?!?!
Not sure whats wrong with my code HELP PLEASE?!?!  I cant figure out what I am doing wrong in my code can anyone help me out??? Grades function computeGrade( ) { var hw, lab, midt, fin, avg; hw = parseFloat
Ajax with BIRT - Ajax
did not exact solution of that. Can anyone please help me. First i am image... is my code.. JSP and Servlet using AJAX function getXMLObject...; //} // else { // alert("Error during AJAX call. Please try again
Ajax
Ajax  Dear Sir, Please help me..It s urgently required.Please help... in a tabular form. Same for >33kv We can use ajax where instead of a link a radio button can fetch the data and can populate a table.If ajax can be used
Load function ***PLEASE HELP
Load function ***PLEASE HELP   Hi I am writing a program that tracks... LOAD implementations. Thank you so much for your help. I really need help to get this done as this project is due on monday for me. My code right now looks
need help...................please
on this area. Please help me. By the way, I'm using access Database and JSP coding...need help...................please  I have a problem in my JSP Coding...("GET",url,true) xmlHttp.send(null) } else{ alert("Please Select Employee Id
please help me here
please help me here  please show me how can this show the right output that i need please continue doing this program using only if else and do while please please" here is the problem Automatic Teller Machine [B] Balance [D
please help me here
please help me here  please show me how can this show the right output that i need please continue doing this program using only if else and do while please please" here is the problem Automatic Teller Machine [B] Balance [D
help please - Java Beginners
help please  i wrote this program but the function newLine dosnt work with me and i dont know where is exactly the error this is the code i... friend, We check the code having some changes to correct the code
Java Variables Help Please!
Java Variables Help Please!  Hi, I just started with java and i need help with my school project, this is it so far: import java.util.*; public...("--------------------"); System.out.println("2.From The Question above, What is the ASCII code of the correct
please help me to give code - Java Beginners
please help me to give code  Write a program that prints an n-level stair case made of text. The user should choose the text character and the number of stairs in the stair case * ** *** ****   Hi friend
please help me to give code - Java Beginners
please help me to give code  Write a program that uses loops to generate an n x n times table. The program should get n from the user. As a model here is a 4 x4 version: | 1 2 3 4