hi,
i need to do a comparison on 2 dates. Im using this:
if (Date.parse(tda te) < Date.parse(from date))
{
alert("Invalid Date Range!\nStart Date cannot be after End Date!")
return false;
}
On click of a save button, im using onFocus event to validate this, but it is not working.It is not validating it.
What could be wrong? Please help.
User Profile
Collapse
-
Comparison of two dates
-
Gaining control of address bar parameters in jsp page
hi,
im my jsp im dividing my page into 3 divisions, using div tag.basically im using tabs. so, on click of each tab, i want to store its id in a variable, because i need to use it later. how can i achieve that? how can i store the id in a variable?
Also, how can i delete the address bar parameters, because, as i navigate from 1 tab to the other, i do not want the previous parametrs to stay, i want to change the parameters.The... -
Gaining control of address bar parameters in jsp page
hi,
im my jsp im dividing my page into 3 divisions, using div tag.basically im using tabs. so, on click of each tab, i want to store its id in a variable, because i need to use it later. how can i achieve that? how can i store the id in a variable?
Also, how can i delete the address bar parameters, because, as i navigate from 1 tab to the other, i do not want the previous parametrs to stay, i want to change the parameters.The... -
gaining control over div tag---id attribute
hi,
im dividing my page into 3 divisions, using div tag.basically im using tabs. so, on click of each tab, i want to store its id in a variable, because i need to use it later. how can i achieve that? how can i store the id in a variable? -
Using onLoad event-problem
hi,
in my jsp form im using the onLoad event to open my form on a small size
<body onLoad="resize( )">
This is my script:
function resize()
{
parent.window.r esizeTo(550,350 );
window.moveBy(8 0,85);
}
I have a few problems here:
(a) When i proceed to my second form, the same co-ordoinates exist, so i wrote this in the body tag <body onUnload="windo w.close()">,... -
display of fixed number of records
hi,
in my jsp form,i am displaying 5 records at a time from the database,im using pagination to view the rest of the records.
Suppose there are 2 records only in the database, i want 3 empty lines to be displayed. Right now it just displays the 2 populated records.
How can i acheive that? -
keeping position of buttons fixed
hi,
i am retrieving records from databse for display.If there are only 2 records for display, the buttons on my form, say for example, back and exit, keep
changing position.
For example, if there are only 2 records for display, the buttons are placed at a higher position on screen.
Is there any way i can keep the display co-ordinates stagnant?
I tried putting it in a table, but it does not help. -
ive tried this, but, its associated javascript on an <input type="image"> does not function properly.... -
hi, i tried the sample program u had posted, but im having the same problem.
im using Internet Explorer, version 6.0...Leave a comment:
-
here is what i used:
ive called my css file in the head section with the code uve posted.....Leave a comment:
-
yes, with the css............ ...and the code u posted......
i tried putting an id, and identifying it but it still does not work......Leave a comment:
-
hi, it is calling its associated javascript code, but im still getting a boxed rectangular grey border around my image....Leave a comment:
-
-
hi,
i did a lot of searching regarding this, and i found that <button type=submit>
can be used.
<button type=submit ><img src="images/go.gif" border="0" alt="Continue to the next page" /> </button>
but,i am getting a grey boxed border around the image, how can i make it disappear.
also, from where do i call my javascript code?...Leave a comment:
-
-
viewing data in text box separated by blanks
hi,
in my jsp form i am entering the value for a field separated with blanks.
but, while viewing it in a text box, it is truncating the characters after it encounters the first blank space.
The same data i am able to view fully in a table, but i want to display it in atext box.
How can i do that? -
error in oracle: maximum number of processes () exceeded
hi,
i get this error sometimes. Im using jsp, as soon as i create a certain number of inputs, i get this error and everything stops working.
java.sql.SQLExc eption: [Microsoft][ODBC driver for Oracle][Oracle]ORA-00020: maximum number of processes () exceeded
what do i do? -
using image on submit button
hi,
i want to use an image on my submit button, but im having problems with it, as it does not execute the javascript associated with it.
For example, this is my exit button:
<input type="image" name="exit" src="images/exit.jpg" border="0" onClick="window .close();">
When, i click on in, a window pops-up asking confirmation to exit or not, even if... -
Highlighting hyperlink value in text box
hi,
in my table one of the column field has a hyperlink that takes me to another page. but, i needed to restrict the size of the column and so i put in into a text box.
But, a new user would be unable to detect that this field is a hyperlink to another page, because, the underlined part indicating that it is a hyperlink is no longer visible.
Is there any way i can color the text atleast so that it looks like a hyperlink?
... -
hi, but, isnt this in the javascript forum itself? could you tell me as to where i can find the answer?...Leave a comment:
No activity results to display
Show More
Leave a comment: