FindPrevious using Javascript

Discussion in 'Javascript' started by, May 26, 2005.

  1. Guest


    I need to to have ability to search in a HTML page.

    I need to have "Find", "Find NExt" and "Find Previous" option. This is
    for Internet explorer.

    Sample HTML code below......

    <html xmlns:fo=""

    <script type="text/javascript"><!--

    <style type="text/css">
    /* Elements for Showing the Fixed Search box at the Top of the Page -
    Do not Change*/

    overflow: auto;
    width: 100%;
    height: 6em;
    position: absolute;
    top: 0;
    left: 0;
    color: #000;
    background: #ddd;

    @media screen
    position: fixed;

    width: 100%;
    height: 100%;
    overflow: auto;
    /* Basic elements - Change Color and font to change the Look and feel
    of the Page */

    font: 10pt/20pt georgia;
    color: #555753;
    margin: 0;
    padding: 6em 0 0 0;

    margin:0px auto;
    border:1px dashed #333;

    font: 8pt/16pt georgia;
    text-align: justify;

    /* Specific divs - Change these to change th look of the Enhancement
    and Bugs in the Release Notes*/

    color: #0000FF;
    line-height: 10pt

    color: #FF0000;

    ..para {
    font: 8pt/16pt georgia;
    text-align: justify;

    /* Display settings for the headigns showing as links
    a.headings:link {color: #555753;width:100%;}

    a.headings:visited {color: #555753; width:100%}

    a.headings:hover {color: #555753; text-decoration:none; width:100%}

    <div id="content">
    5 golden investing rules!

    May 26, 2005 13:46 IST

    'Investments' is a sacred term for individuals. For many, investing
    means a kind of 'compulsory' savings from one's earnings and getting
    lumpsum money later.

    However there is a lot more to investing than just that. Investing
    falls within a broader gamut of financial planning. It requires
    considerable thought and groundwork. Here, we have outlined some
    important guidelines to be borne in mind while planning your finances.

    Do your homework
    Before investing your money, ensure that you have done your homework
    well. It is 'normal' for sales pitches to be aggressive. Most sales
    executives are mainly interested in 'commission earned' or 'business
    garnered', which reflects in their monthly targets. That is why one
    only gets to hear the 'best case scenario' from agents/sales

    A lot of sales agents/consultants try to exploit the individual's
    vulnerability and lack of knowledge while making a sales pitch. For
    instance, how else can you explain so many individuals in the low-risk
    category investing in high-risk ULIPs? Or why term plans, in spite of
    being the cheapest form of insurance, are still not bought by most
    individuals? Or why mutual fund IPOs find so much favour with investors
    even when there is no fit in their portfolios?

    Investing in ULIPs? Read this first

    One should understand his own profile in terms of income, risk appetite
    and future plans and only then, make investments in tune with the same.
    Individuals need to know what benefits different products offer and how
    they fit into their financial portfolios before taking a call on
    investing in them. You must listen to advice from different quarters
    but the final decision should rest with you alone after a careful
    analysis. After all, it's your own hard-earned money.

    Keep your eyes and ears open
    Keep your eyes and ears open at all times for any investment
    opportunity that comes your way. The opportunity could be by way of
    changing market scenario or new product launches. Individuals shouldn't
    lose out on any opportunity just because they didn't know it existed.
    Of course, this involves a bit of updating yourself with latest product
    trends, market conditions and changing economic scenario. This way, you
    will not be completely at the mercy of the consultant/agent to provide
    you with investment-related information and solutions.

    Involve yourself
    While buying any financial product, ensure that you have involved
    yourself at critical stages. For example, while taking life insurance,
    see to it that you personally fill all the details in the proposal
    form. Insurance agents many a times, used to, themselves, fill up
    details like the height and weight of the insured, his age and medical
    history among other things, based solely on their own judgement. They
    merely asked the individual to sign on the form at the end.

    What individuals don't realise is that this can lead to rejection of
    claims at a later stage if discrepancies are found in the proposal
    form. The insurance company cannot be faulted for rejecting such a
    claim. It is a shortcoming on the agent's part who should have
    requested you to fill the form yourself, else fill it himself after
    verifying your details. All the necessary medical tests should also be
    diligently given. As mentioned earlier, any 'false claims' might lead
    to rejections at a later date.

    Inform your near and dear ones
    This is especially true in case of life insurance. Inform your near and
    dear ones as soon as the policy is bought. If your spouse and/or
    parents know that you have a life insurance cover wherein he/they are
    nominees, they will be better placed to follow up with the life
    insurance company for the claim proceeds should something happen to
    you. Typically, life insurance should not be so sacred that you don't
    broach the topic in the family. All related (and affected) parties must
    know exactly what needs to be done in your absence.

    Maintain a logbook
    Always maintain a logbook of your life insurance policies/investments.
    Individuals can and do have a variety of investments ranging from life
    insurance (endowment, term plan, ULIPs) to mutual funds and PPF/NSCs. A
    logbook should contain details about the same. Over an extended period
    of time, it becomes difficult for one to remember or track investment
    details like maturity date, maturity value and rate of interest. This
    logbook will take care of that problem. Of course, it goes without
    saying that for the logbook to be really effective and useful, it
    should be updated periodically to reflect investments and redemptions.

    This logbook should also include details of an individual's liabilities
    like home loans, personal loans, the amount outstanding on such loans,
    the EMI and business liabilities (in case the individual runs a
    business) among others.

    Details of the logbook should also be shared with your dependents
    (spouse, children, parents). An important reason for making a copy is,
    in case of an unfortunate eventuality, the spouse knows his/her exact
    financial status. Also, one wouldn't want someone to come out of
    nowhere one fine day and stake a claim on the family's assets based on
    some 'fictitious' liability

    <div id="header">
    <table border="0">
    <tr valign="top">
    <td align="left" valign="top">
    <td align="center" valign="top">
    <p align="center">
    Search for: <input type="Text" name="toFind"/>
    <INPUT TYPE="button" NAME="FindButton" VALUE="Find"
    <INPUT TYPE="button" NAME="FindNextButton" VALUE="Find Next"
    <INPUT TYPE="button" NAME="FindPrevButton" VALUE="Find Previous"
    , May 26, 2005
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. confused
    David Carlisle
    May 26, 2007
  2. confused
    Pavel Lepin
    May 28, 2007
  3. whidbeywave
    Jan 16, 2006
  4. Replies:
    Thomas 'PointedEars' Lahn
    May 30, 2006
  5. jatrojoomla
  6. Replies:
  7. parez
    Sep 11, 2007
  8. Abhishek
    David Mark
    Aug 7, 2008