I have doubt in jsp file.
I have doubt in jsp file.
In a jsp file, there should be two buttons. One is start and other is stop.
When we click on start then only stop should be enabled. Other wise it should be disabled.
When we click on start button, stop should be enabled and start should be disabled.
When we click on stop button, start should be enabled and stop should be disabled.
Please can you help me with the code.
View Answers
September 23, 2011 at 3:02 PM
<html>
<script>
function check1()
{
document.form.b1.disabled=true;
document.form.b2.disabled=false;
}
function check2()
{
document.form.b2.disabled=true;
document.form.b1.disabled=false;
}
</script>
<form name="form">
<pre>
Name: <input type="text" >
Address: <input type="text">
<input type="button" name="b1" value="Start" onclick="check1();"> <input type="button" name="b2" value="stop" onclick="check2();">
</pre>
</form>
</html>
September 23, 2011 at 3:21 PM
thankq for giving the answer
Ads
Related Tutorials/Questions & Answers:
I have doubt in jsp file.
I have doubt in
jsp file.
I have doubt in
jsp file.
In a
jsp file, there should be two buttons. One is start and other is stop.
When we click on start then only stop should be enabled. Other wise it should be disabled.
When
Advertisements
Jsp error when i run this a jsp file
Jsp error when
i run this a
jsp file hi
I got this error when
i run the
jsp file in IDE and outside also
please help me
java.lang.NullPointerException
org.apache.jsp.insertjsp.jspInit(insert_jsp.java:22
Jsp doubt
Jsp doubt In Employee.jsp form, When
i click employee id value in combo box ,
how
i get the related employee name will be displayed in text field?
i already stored combo box values from database
Doubt regarding charts and jsp
Doubt regarding charts and jsp Hi,
I successfully executed the bar chart in normal java application.
But
I want the Bar Chart to be executed in web application(
jsp).
So,please help me out in how to connect the normal
Doubt regarding charts and jsp
Doubt regarding charts and jsp Hi
in the http://www.roseindia.net...());
final
File file1 = new
File("../webapps/jspchart/web/barchart.png...) {
Where can
I get the barchart.png? and what is the exact meaning of the line
write data to a pdf file when i run jsp page
write data to a pdf
file when
i run
jsp page Hi,
<%@page import... to open the pdf
file when
i execute the
jsp page...{ document.close();}
%>
</body>
I added itextpdf jar
file
write data to a pdf file when i run jsp page
write data to a pdf
file when
i run
jsp page Hi,
<%@page import... to open the pdf
file when
i execute the
jsp page...{ document.close();}
%>
</body>
I added itextpdf jar
file
write data to a pdf file when i run jsp page
write data to a pdf
file when
i run
jsp page Hi,
<%@page import... to open the pdf
file when
i execute the
jsp page...{ document.close();}
%>
</body>
I added itextpdf jar
file
write data to a pdf file when i run jsp page
write data to a pdf
file when
i run
jsp page Hi,
<%@page import... to open the pdf
file when
i execute the
jsp page...{ document.close();}
%>
</body>
I added itextpdf jar
file
i have problem with classnofounderror
i have problem with classnofounderror import java.sql.*;
public class Tyagi
{
public static void main (String args[])throws SQLException
{
ResultSet rs;
try
{
Class.forName
i have problem with classnofounderror
i have problem with classnofounderror import java.sql.*;
public class Tyagi
{
public static void main (String args[])throws SQLException
{
ResultSet rs;
try
{
Class.forName
I have need to help
I have need to help Write a program that, for four points A, B, C and P, draws a triangle formed by ABC
and a small cross showing the position of P; and displays a line of text indicating which of
the following three cases
jsp-file
jsp-file
i want to upload a
file by browse button and the
file should be save in ms access database.....how
i can implement trough
jsp plz help me sir
Doubt
Doubt how to submit the details and how to go the next page after submitting.please clarify my
doubt I don't know how to submit details