User Profile

Collapse

Profile Sidebar

Collapse
maralfarshadi
maralfarshadi
Last Activity: Mar 15 '08, 05:09 AM
Joined: Jul 31 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thank you very much for suggesting that....
    See more | Go to post

    Leave a comment:


  • maralfarshadi
    started a topic Cancelling the hyperlink navigation

    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) {
    ...
    See more | Go to post
    Last edited by maralfarshadi; Feb 28 '08, 04:35 PM. Reason: Addition

  • maralfarshadi
    started a topic Two borders in CSS

    Two borders in CSS

    Hello

    I have used the following to draw a box in CSS:

    Code:
    #mybox {
    border-style: solid;
    border-width: 10px;
    border-color: #ff0000;}
    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 ?


    Thank you in advance
    See more | Go to post

  • maralfarshadi
    replied to Compare dates - iso format
    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);
    ...
    See more | Go to post

    Leave a comment:


  • maralfarshadi
    replied to Compare dates - iso format
    Thank you for your advice.
    Maral...
    See more | Go to post

    Leave a comment:


  • maralfarshadi
    started a topic Compare dates - iso format

    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) >
    ...
    See more | Go to post

  • 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 :

    Code:
    onchange="submit()"
    My combobox have the values :
    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...
    See more | Go to post

  • maralfarshadi
    started a topic Two D Array list
    in Java

    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
    See more | Go to post

  • 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 :-)...
    See more | Go to post

    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 :...
    See more | Go to post

    Leave a comment:


  • Noted with thanks ......
    Any tips to help me solve the problem ?...
    See more | Go to post

    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...
    See more | Go to post

  • Thank you for your reply .... By JSF I mean Java Server Faces. Any advise is extremely appreciated ....

    Regards
    Maral...
    See more | Go to post

    Leave a comment:


  • maralfarshadi
    started a topic Choice of the most appropriate components
    in Java

    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...
    See more | Go to post
No activity results to display
Show More
Working...