+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: NewImageVerify not working in newer browsers

  1. #1
    Join Date
    Jun 2009
    Location
    Houston
    Posts
    378

    Post NewImageVerify not working in newer browsers

    I cannot get NewImageVerify to work in IE8, Firefox 3.5, or Safari 4.02.

    It works fine in IE7.

    The script is running but the image is not refreshing.

  2. #2
    Join Date
    Dec 2008
    Posts
    28

    Default Re: NewImageVerify not working in newer browsers

    Hi,

    What is this "NewImageVerify"? Is it different than ver1.04?

    --tp

  3. #3
    Join Date
    Dec 2003
    Posts
    3,907

    Default Re: NewImageVerify not working in newer browsers

    Hi,

    OK, I just re-downloaded the package from here.

    I tested the "New image" button (that's the refresh) and it works fine in FF2, FF3, FF3.5, IE6, IE7, Saf4, Chrome 1.0.154.

    I think that's pretty conclusive.

    Have you downloaded the right stuff?
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  4. #4
    Join Date
    Dec 2003
    Posts
    3,907

    Default Re: NewImageVerify not working in newer browsers

    Hi again,

    BTW, you know you have to have JavaScript enabled in the browser for the button to work?
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  5. #5
    Join Date
    Jun 2009
    Location
    Houston
    Posts
    378

    Default Re: NewImageVerify not working in newer browsers

    Yes, I have these files. The javascript runs (i.e. it counts the retries) but it does not refresh the image in IE8, Safari 4.02, or FF 3.5.

    I do not see the src changing in my browser. Should I?

    Here is the javascript from my page.

    <script type="text/javascript">
    var nReload = 5;
    function NewVerifyImage()
    {
    if (nReload <= 2)
    if (nReload <= 0)
    {
    alert("Sorry, too many reloads.");
    return;
    }
    else
    alert("Only " + nReload + " more reloads are allowed");
    nReload--;
    //
    // This code now works in both IE and FireFox
    //
    var e_img;
    e_img = document.getElementById("vimg");
    if (e_img)
    //
    // FireFox attempts to "optimize" by not reloading
    // the image if the URL value doesn't actually change.
    // So, we make it change by adding a different
    // count parameter for each reload.
    //
    e_img.setAttribute("src",e_img.src+'?count='+nReload);
    }
    // ]]>
    </script>

    Here is the button code:

    <button onclick="NewVerifyImage(); return false;">
    Click for New image
    </button>

  6. #6
    Join Date
    Jun 2009
    Location
    Houston
    Posts
    378

    Post Re: NewImageVerify not working in newer browsers

    Yes. Javascript is enabled. Like I said I get the warnings when I get down to two more tries left but the image never changes.

  7. #7
    Join Date
    Dec 2003
    Posts
    3,907

    Default Re: NewImageVerify not working in newer browsers

    Hi,

    No, the HTML source will not change.

    Did you call the image field "vimg"?

    Have you actually tried the downloaded sample?
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  8. #8
    Join Date
    Jun 2009
    Location
    Houston
    Posts
    378

    Unhappy Re: NewImageVerify not working in newer browsers

    Well, I am dumbfounded! The sample htm works but my htm does not work. I cannot find any differences in the two. My form is at:

    http://www.houston-panhellenic.org/r...ignup_form.htm

    What have I done wrong?

    Thanks for the help.

  9. #9
    Join Date
    Dec 2003
    Posts
    3,907

    Default Re: NewImageVerify not working in newer browsers

    Hi,

    That form seems to be working fine.

    Did you figure out what you did wrong?
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  10. #10
    Join Date
    Jun 2009
    Location
    Houston
    Posts
    378

    Smile Re: NewImageVerify not working in newer browsers

    Yes, I did finally figure out what was going on. The image object was named vimg but it did not have an id. Once I made the id=vimg everything worked.

    Interesting that IE7 worked without the id being set.

    Thanks for your help.

    Formmail is great!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Troubles getting this working - email not working
    By Bill in forum Community Support
    Replies: 8
    Last Post: 15-Jun-2011, 09:14 PM
  2. Replies: 0
    Last Post: 08-Apr-2011, 05:51 PM
  3. Replies: 3
    Last Post: 21-Oct-2010, 09:48 PM
  4. Captcha error in some browsers
    By oldcelt in forum Community Support
    Replies: 2
    Last Post: 09-Aug-2010, 03:25 PM
  5. NewImageVerify not working in Firefox or Safari
    By jzieba in forum Community Support
    Replies: 1
    Last Post: 11-Jul-2009, 09:26 PM

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