User Profile
Collapse
-
Thank you very much for suggesting that.... -
Cancelling the hyperlink navigation
Hi
I have a hyperlink in my form, and I am using:
Code:<a href="javascript:myFunction('myTextBox','myFormName','ServletName')"> Go </a>
In my Javascript code, if all goes well, the form gets submitted and the page is forwarded to a servlet. If not, it should just alert the user and cancel the navigation.
...Code:if ((Fld.value.length==0) || (Fld.value==null) { -
Two borders in CSS
Hello
I have used the following to draw a box in CSS:
Now I want to add a thin black border just around this red box , but could not figure it out. Could you please help me ?Code:#mybox { border-style: solid; border-width: 10px; border-color: #ff0000;}
Thank you in advance -
Hi
Appreciate your help and advice with the problem I have faced. My code is as follows:
...Code:function Compare() { var StartDateSt=document.SearchFrm.startDate.value; var EndDateSt=document.SearchFrm.endDate.value; StartDateSt = StartDateSt.split("-"); EndDateSt = EndDateSt.split("-"); var StartDate=new Date(); StartDate.setFullYear(StartDateSt);Leave a comment:
-
-
Compare dates - iso format
Hi everybody
The date values entered in my text boxes (startDate and endDate) in my form are in ISO format YYYY-MM-DD.
Could you please help me and explain how I can compare the date values to make sure the start date is smaller than the end date?
I have something like the following, but it is not working (I guess due to ISO format)
...Code:if ( new Date(document.SearchFrm.startDate.value) >
-
Trigger action on combo box value when no change has taken place
Hello
In my JSP, I have several comboboxes (located in several forms in one JSP). In the onChange event , I have :
My combobox have the values :Code:onchange="submit()"
Select Item
Action 1
Action 2
Action 3
The code works fine, but only if the user chooses an action (Action 2 for example) and another page depending on the choice is shown to him, if he presses... -
Two D Array list
Dear All
Could you please explain or refer some reading material on how to create two dimensional array lists ? and how to access the fields with columns and row indexes ?
Extremely appreciate your help
Maral -
Thanks to everyone for their replies and suggestions .... and a special thanks to markrawlingson for taking the time to correct the code.
Have a nice day everybody :-)...Leave a comment:
-
Unfortunately not yet :-((((
I have included the code generated from view page source. Could you please advise ? I am really confused ... Thanks
By the way apologies for a mistake in first post, when I was preparing the question for forum I made mistake and the name of option box should be CChoice and not Option1Choice. But in the code they had same name.
Best Regards
Maral
The code is :...Leave a comment:
-
Noted with thanks ......
Any tips to help me solve the problem ?...Leave a comment:
-
Problem communicating child/parent values
Dear All
I am working on a Java based Web app - In this application, a window contains many textboxes which open the same child window. The user should choose among the option boxes provided and the choice should be reported back to parent window.
1. To know which textbox caused the child window to open, the two hidden inputs namely cbox and statbox are used to keep track.
2. The javascript code goes... -
Thank you for your reply .... By JSF I mean Java Server Faces. Any advise is extremely appreciated ....
Regards
Maral...Leave a comment:
-
Choice of the most appropriate components
Hi everybody
I am new to the Java world. I am working on a Web application that is using servlets and JSP with database back end.
Users navigate through JSP forms and their choices (entered textboxes) are sent to servlets and servlets invoke the appropriate procedures to query the backend and return results.
I would like to have much more functionality implemented with my user interface components, for...
No activity results to display
Show More
Leave a comment: