User Profile

Collapse

Profile Sidebar

Collapse
itgaurav198
itgaurav198
Last Activity: Mar 17 '08, 02:17 PM
Joined: Oct 24 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • itgaurav198
    started a topic Creating tabs in html

    Creating tabs in html

    Hi all,

    I have tried some code and now i am able to create the tabs but the problem is that my requirement is when a tab is clicked, both the javascript functions and the href given should be called. I have tried the following


    Code: ( text )
    [HTML]<ul id="globalnav" >
    <li><a href="http://www.infosys.com ">Home</a></li>
    <li><a href="#"...
    See more | Go to post
    Last edited by gits; Mar 17 '08, 07:56 AM. Reason: added code tags

  • itgaurav198
    replied to Creating tabs in html
    Hi all,

    I have tried some code and now i am able to create the tabs but the problem is that my requirement is when a tab is clicked, both the javascript functions and the href given should be called. I have tried the following

    Code:
    <ul id="globalnav">
      <li><a href="http://www.infosys.com">Home</a></li>
      <li><a href="#" class="here">About</a>
    ...
    See more | Go to post

    Leave a comment:


  • itgaurav198
    started a topic Creating tabs in html

    Creating tabs in html

    Hi all,

    I am trying to create tabs in HTML form.

    Can anybody suggest me how it can be done?

    If possible please post some code for atleast one functional tab.

    Thanks
    See more | Go to post

  • itgaurav198
    replied to Trying to count number of attempts
    in Java
    hi,
    thanks for ur response.
    This is the case if i am using JSP and what about if as a login page i make use of html page.

    thanks...
    See more | Go to post

    Leave a comment:


  • itgaurav198
    started a topic Trying to count number of attempts
    in Java

    Trying to count number of attempts

    Hi all,

    I have a JSP that asks for userid and password. I want to develop an application that should be able to check how many attempts the same user has taken so that he can be redirected to some another page when he gives wrong id/ pwd three times.

    If possible please provide some example code.

    thanks
    See more | Go to post

  • itgaurav198
    replied to Java: public static main error
    in Java
    Have u encapsulated your main function in a class?...
    See more | Go to post

    Leave a comment:


  • itgaurav198
    replied to Conversion into Binary Octet String
    in Java
    Hi,
    Actually I am working on IBM Tivoli Identity Manager and I have to store the value of password in an attribuet that is of type Binary Octet String and I am entering the value in String. Thats why I have to convert it. Is there any other way to do this.

    Thaks...
    See more | Go to post

    Leave a comment:


  • itgaurav198
    replied to Conversion into Binary Octet String
    in Java
    Hi,

    Thanks for your quick reply.

    As you have written that there are few methods to convert octet values into binary that are strings. But I have to convert a string into Octet. So do you mean that first i have to convert it into binart then into octet. If I am right how can i implement it in java.

    Thanks...
    See more | Go to post

    Leave a comment:


  • itgaurav198
    started a topic Conversion into Binary Octet String
    in Java

    Conversion into Binary Octet String

    Hi,

    Is it possible to convert a string in "Binary Octet String".?Also, if possible, please make clear what "Binary Octet String" is.

    Thanks
    See more | Go to post

  • itgaurav198
    replied to My page doesn't work in firefox
    Hi,

    Your first code is working fine in both IE and Firefox.
    I have run it on my system.

    Thanks...
    See more | Go to post

    Leave a comment:


  • itgaurav198
    replied to Problem in jsp regarding dropdown
    in Java
    Hi,
    Thanks for your support.
    The problem has been solved.
    Actually the problem was in conditions used.

    Thanks
    Thanks a lot...
    See more | Go to post

    Leave a comment:


  • itgaurav198
    replied to Problem in jsp regarding dropdown
    in Java
    Hi,
    Actually I am now using the following code:
    Code:
    <% if("Chandigarh".equals(request.getAttribute("location"))) {%>
    	<select name="l" onchange="submitForm1();">
    	<Option value="Chandigarh" selected>Chandigarh</Option>
    	<Option value="Pune">Pune</Option>
    	<Option value="Banglore">Banglore</Option>
    ...
    See more | Go to post

    Leave a comment:


  • itgaurav198
    started a topic Problem in jsp regarding dropdown
    in Java

    Problem in jsp regarding dropdown

    Hi,
    I am using the following code in my JSP. Actually when i submit this jsp to a servlet then it sets the value of location attribute using request.setAttr ibute() and forwards it using RequestDispatch er and include.But when the JSP page reloads there is no effect of if-else.

    Code:
    <% if(request.getAttribute("location").equals("Chandigarh")){ %>
    <select name="Location">
    <Option
    ...
    See more | Go to post

  • Hi,
    Sorry, actually i have changed the one button code and not the other now this is working fine.

    But still I am not clear why the same (wrong) code was working fine on Firefox.
    Can you tell me the reason or some link where i can find out these differences between firefox and IE.
    Thanks
    Thanks a lot...
    See more | Go to post

    Leave a comment:


  • Hi,

    Revised code as below

    Code:
    <%@ page import="java.util.ArrayList"%>
    <%@ page import="javax.servlet.*"%>
    <%@ page import="javax.servlet.http.*"%>
     
    <html>
    <head>
    <title> Form </title>
    <script language="javascript" type="text/javascript">
     
    function submitForm1()
    ...
    See more | Go to post

    Leave a comment:


  • Hi,
    I have tried it but still its not working

    Thanks...
    See more | Go to post

    Leave a comment:


  • Hi,
    I just want to call the submitForm1() function on onchange event of location dropdown and want to submit the form to SearchRecords in the code below:(Please see the bold part in code)
    [HTML]<%@ page import="java.ut il.ArrayList"%>
    <%@ page import="javax.s ervlet.*"%>
    <%@ page import="javax.s ervlet.http.*"% >

    <html>
    <head>
    <title>...
    See more | Go to post
    Last edited by gits; Oct 31 '07, 08:44 AM. Reason: added code tags

    Leave a comment:


  • Hi,
    The following code works properly
    Code:
    <%@ page import="javax.servlet.*"%>
    <%@ page import="javax.servlet.http.*"%>
    
    <html>
    <head>
    <title> Form </title>
    <script language="javascript" type="text/javascript">
    
    function submitForm1()
    {
    	
       document.forms[0].action="SearchRecords";
    ...
    See more | Go to post

    Leave a comment:


  • Hi,

    The same situation even after changing the name of button.
    When I change the dropdown list value the page shows an error on left bottom side of Browser and shows that "Object doesn't support this property or method" for document.forms[0].action="Search Records".

    Thanks...
    See more | Go to post

    Leave a comment:


  • Hi,

    The complete code is as below
    Code:
    <%@ page import="java.util.ArrayList"%>
    <%@ page import="javax.servlet.*"%>
    <%@ page import="javax.servlet.http.*"%>
    
    <html>
    <head>
    <title> Form </title>
    <script language="javascript" type="text/javascript">
    
    function submitForm1()
    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...