Ya i got this point.
But after clicking login button, before it goes to next page, the list box value is getting changed to default automatically. Please give me the solution for this.. And one more thing is, Is there any way to make the ajax (or this piece of code) work faster...
User Profile
Collapse
-
You can achieve it by doing like this
<html>
<script language="text/javascript">
var test=DValue;
document.myForm .name.value=tes t;
</script>
<body>
<form name="myForm">
<inpu type="text" name="name"/>
</form>
</body>
</html>Leave a comment:
-
Error in my code
Sometime back I had a posted an issue here. I was adviced to use AJAX in my application. I was not aware of it, somehow i managed to use it in. Now its working except few small issues. If anyone could find wats wrong, i will be greatful.
This contains 3 fields username,passwo rd and project. As the user enters his username,it calls the jsp thru ajax to fetch the project names. But the problem here is.. Its fetching the data but teking... -
How to validate the time here
I have an application like this. I need to validate the start time in 2nd row against the start row in first row. I mean The start time value entered in the second row must not b the value entered in 1st and the value entered in 3rd must not b the value entered in 1st,2nd etc.. like this. Please tell me how it can be done. I'm sending the code here. Its a html file. Just copy paste the code and run to execute it and see how it works.
... -
I'm not aware of AJAX. I'm sending you the code i have so far.. Please help me
Thank you in advance
[HTML]<%@ page contentType="te xt/html;charset=wi ndows-1252"%>
<%@ page import="java.sq l.*" %>
<%@ page import="javax.s ql.*" %>
<%@ page import="java.la ng.*" %>
<%@ page import="java.la ng.Object.*" %>
<%@...Leave a comment:
-
How to get values in the dropdown box
--------------------------------------------------------------------------------
Hi all..
Please read this and help me.
My application needs to be like this.
The login page gets the username and in the second page there is a drop down box called project which gets the list of projects the person is involved in.. it fetches this data from the database....Leave a comment:
-
How to get values in the dropdown box
Hi all..
Please read this and help me.
My application needs to be like this.
The login page gets the username and in the second page there is a drop down box called project which gets the list of projects the person is involved in.. it fetches this data from the database. And then there is another drop down box called WBS code. After selecting a particular project, the wbs codes of the selected project are populated in... -
right now i'm doing the same but my application has become very slow. Business logic shud b separate from presentation right.. So how it can b done...Leave a comment:
-
How to call a java class from jsp?
Hi all,
Suppose i've my database operations written in a java class, db.java , i want to call this from my jsp page as soon as the data is entered.
Pls tell me how to do this -
-
I dont want the user to modify it so i'm disabling that field...Leave a comment:
-
Disabled field's value is reading as null
--------------------------------------------------------------------------------
Hi friends,
I've got an error in my project.
<input type="text" name="empname" disabled value=<%=sessio n.getAttribute( "emp_name") %>>
and after submitting this,i'm trying to retrieve it as
String emp=request.get Parameter(empna me);
but it is reading... -
Disabled field's value is reading as null
Hi friends,
I've got an error in my project.
<input type="text" name="empname" disabled value=<%=sessio n.getAttribute( "emp_name") %>>
and after submitting this,i'm trying to retrieve it as
String emp=request.get Parameter(empna me);
but it is reading it as null. If i remove the disabled attribute,it reads the value..
Can anyone tell... -
Refer to this site
http://www.webteacher. com/javascript/changing_lists. htmlLeave a comment:
-
how to include a jsp page fron javascript? It shud go to jsp and control shud come back to js? how is it possible?...Leave a comment:
-
Problem in getting the name
Hi all,
I'm creating a text box like this and inside the function i'm trying to valiadte it. But i'm unable to retrieve its value. I think the method i've used may b wrong pls tell me wats the correct way of doing it as soon as possible please please please frends
var cell2 = row.insertCell( 2);
var txtInp = document.create Element('input' );
txtInp.setAttri bute('type', 'text');
txtInp.setAttri bute('name',... -
How to save the data to the database
Hi all,
I have a problem in my project. I have developed a small page like this. Now after the save button is clicked, the data which is entered should be stored in the database. I'm attaching the code here please if someone find the solution send me as soon as possible.
<%@ page contentType="te xt/html;charset=wi ndows-1252"%>
<%@ page import="java.sq l.*" %>
<%@ page import="javax.s ql.*"... -
How to save the data to the database
Hi all,
I have a problem in my project. I have developed a small page like this. Now after the save button is clicked, the data which is entered should be stored in the database. I'm attaching the code here please if someone find the solution send me as soon as possible.
<%@ page contentType="te xt/html;charset=wi ndows-1252"%>
<%@ page import="java.sq l.*" %>
<%@ page import="javax.s ql.*"...
No activity results to display
Show More
Leave a comment: