SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jun 2008
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    browser related issue..setting in javacript

    Hi,

    I am facing a browser related issue from last few days. My Problem is When I click on the submit button of JSP page, I can see the progress bar in Mozilla firefox browser, but when I execute the same in Internet explorer, progress bar appears for a second and disappears then. Result is coming in both the cases but users are using IE and can not find whether process is running or not...Is there anythign I can do in javascript for IE?
    Please help...

    My code is
    JSP code...

    <span class="mini">
    <html:link href="#" styleClass="bouton" onclick="return submit_form_with_parameters('delegationForm', 'delegation', 'noInit=Y');">
    <bean:message key="rh2u.deleg.label.etape0.label.chercher" />
    </html:link>
    </span>

    JavaScript code...

    function submit_form_with_parameters(strFormName, strAction, parameters){
    objForm = eval("document." + strFormName);
    objForm.action = strAction + ".do?" + parameters;
    objForm.submit();

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    Instead of relying on the progress bar you should instead display an onscreen confirmation of what is occuring.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •