Form Validation working in FF but not in IE8

Hello All,
Following is my code snippet ....  (This is a function which checks if the password fields are empty then throws the validation message.
$("#passwordForm").validate({ 
rules: {
newPassword: { required:
true }, 
confirmNewPassword: { required:
true ,equalTo:"#newPassword" } 
messages: {
newPassword: { required:
"This is a required field." }, 
confirmNewPassword: { required:
"This is a required field." } 
/* error placement configuration */
errorElement:"div",errorPlacement:
function(error, element) { 
// test to see if element has associated label; if so then use the label for placement of error message instead
elementName = element.attr('name');testElement = $(
"#" + elementName + "Label"); 
if ( testElement.length > 0 ) {element = testElement;
offset = element.offset();
error.insertBefore(element)
error.addClass(
'message'); // add a class to the wrapper
error.css('position', 'absolute');error.css(
'left', offset.left + element.outerWidth() );error.css(
'top', offset.top -10);}
The above snippet works correclty in mozila firefox , but while working with IE8 the validation is not happening...
Can some 1 please help?
Thanks in advance
kausty05

If all you want to do is ensure that the two fields have values, why not use cfinput required="yes" ?

Similar Messages

  • Spry form validation working in IE but not in Firefox or...

    Ok putting together a contact us form and would like a few
    fields to be required. It works in IE7 but not in Firefox, Safari
    or Google Chrome. In IE7 I get the error msg for no valid email but
    in the other browsers it just does nothing. Here is the link to the
    page
    Aspen
    Homes
    Can anyone help with this? I have used Spry on a couple other
    site and never had an issue. I am updated to the most recent
    version also. I am running
    Vista Ultimate (64-bit)
    DW CS3 or DW CS4 (both do the same thing)
    I have attached my code here in a txt file
    Page
    Code
    thanks
    B

    Anyone?

  • Why does the FP 10 work with firefox but not with IE8

    I down loaded the folowing for xp FP uninstall, FP plugin and FP debug from the link in one of your replys. now I can watch youtube  with firefox but not with IE8. you asked me before if i was using 16 bit. whats that mean and how do I find out? please help I just want to watch youtube on IE!

    Ok Shag, since you hadn't been on a Forum before, then I'll take some of what I said back:-) I wanted you to stay on one thread, you can get in trouble trying things that may cause you more problems than you had in the beginning. I just had your best interest at heart
    I'll even overlook your all caps here:-) At least you responded
    Now since you say you fixed it, what you should do is to confirm it is fixed by taking a look at your Flash folder. This contains all of the Flash files for IE and FF. Then make sure you have the IE add on and the FF add on. That way if you have any future problems, at least you would know it is not the Flash Player.
    You should only have 2 .exe files for IE and 1 for FF.
    For Video editing, I would check Microsoft and see what they have. Perhaps someone else will come along with other info for you.
    No, I don't get paid here, since I am not an employee. Just a user helping others, since I had a problem at one time and after 4 hours of researching solved it.
    Let me know if you want to check the Flash files.
    Thanks,
    eidnolb

  • Attr method works in Firefox but not in IE8

    I have a page load javascript that does .attr to a button.. this works in Firefox and Chrome but not IE8..
    This is what I found as a solution on a web site.. but I dont know how to append the button to a DOM element:
    The 'attr()' method does not return the expected values in IE8, but it does so in Firefox and Safari. This can be remedied by appending the IMG element to a DOM element (like 'html' or 'body') and calling 'attr()' again.
    /* get original onclick event */
    var origAction = $('button[value=Create]').attr('onclick').toString();
    /* get link from original onclick event using regular expression */
    var link = origAction.match(/(redirect\((\'|\"))([^\'\)|\"\)]*)/)[3];
    /* Remove original onclick event */
    $('button[value=Create]').removeAttr('onclick');
    /* store link as title attribute of button */
    $('button[value=Create]').attr('title', link);

    Hi,
    I have not tested and do not know does it make any different, but try use selector
    $('button[value="Create"]')Regards,
    Jari

  • OS X, Load .dylib form applet, works in Chrome but not in Safari

    In safari I get this error:
    java.lang.UnsatisfiedLinkError: /Library/Application Support/XXXXX/libXXXX.dylib: dlopen(/Library/Application Support/XXXXX/libXXXX.dylib, 1): no suitable image found.  Did find:
      /Library/Application Support/XXXXX/libXXXX.dylib: open() failed with errno=1
    I have verified that both browsers are using the same version of Java. I've tried using a 32 and a 64 bit version of the .dylib. In Chrome the 64 bit versions works fine. In Safari, both 32 and 64 fail to load.
    There are no errors saying it is security related.
    Anyone have any ideas on how to make it load in Safari?
    Thanks!

    In safari I get this error:
    java.lang.UnsatisfiedLinkError: /Library/Application Support/XXXXX/libXXXX.dylib: dlopen(/Library/Application Support/XXXXX/libXXXX.dylib, 1): no suitable image found.  Did find:
      /Library/Application Support/XXXXX/libXXXX.dylib: open() failed with errno=1
    I have verified that both browsers are using the same version of Java. I've tried using a 32 and a 64 bit version of the .dylib. In Chrome the 64 bit versions works fine. In Safari, both 32 and 64 fail to load.
    There are no errors saying it is security related.
    Anyone have any ideas on how to make it load in Safari?
    Thanks!

  • Slideshow widgets works in IE9 but not in IE8

    Install the spryImageslideshow and all works great in IE9 but has errors in IE8
    it start the show and pan but stops at the 1st one
    Any help
    Thanks
    Gene

    I'm having a similar issue. The Spry Slideshow - Basic widget works great in Firefox, but won't work in IE8.
    Here's the test link I set up. http://arts-festival.com/TESTSLIDE.php
    The page I set it into originally (isn't officially live, still up for testing purposes) is http://arts-festival.com/index2010.php
    Error is:
    Invalid Argument.
    Line: 389
    Char: 3
    SpryDOMEffects.js
    Code: 0
    URI: http://www.arts-festival.com/Spry-UI-1.7/includes/SpryDOMEffects.js
    Any suggestions?
    Thank you!
    Theresa

  • Adobe Flash Player 10 works with Firefox but not with IE8???

    Hi Gang: I need help, I have downloaded adobe flash player 10, enable my javascript in IE8, but when I attempt to run youtube videos, I get the error message, javascript need to be enable or you need to download a newer version of adobe flash player. I then opened Firefox instead then run the same youtube videos and everything is perfectly fine. Why can't I run youtube videos in IE8 with the adobe flash player 10? What is the fix?
    Thanks

    What's (likely) happening is that the HTML wrapper around the .swf isn't behaving... which causes Flash Player version detection to fail. Hit this test page at youtube - you should see an embedded movie with Flash Player version information.
    http://www.youtube.com/swf_test.html
    You may find success by following the instructions in this tech-note for a complete uninstall... then re-install the latest FP.
    http://kb2.adobe.com/cps/141/tn_14157.html

  • Medical app from Intuit works in IE, but not Firefox.

    Encrypted medical app works in new IE, but not Firefox. Everything works down to the end, and click on "continue" and nothing happens. A tech and I have spent hours on this. Did not work on FF5 or 6. Did not work on old IE, but did on fresh new version with no data files copied in.

    If it works in IE but not FF, then it has nothing to do with the mp3s. More likely it's because of the HTML on the page.
    To start, page is missing DOCTYPE declaration... a MAJOR problem. The DOCTYPE declares which set of rules the browser will use to display the page. Without it, different browsers go crazy or do not work at all.
    http://www.w3schools.com/tags/tag_DOCTYPE.asp
    Validate the html code here:
    http://validator.w3.org/
    You will have to fix all the errors if you want this to work in all browsers.
    Best wishes,
    Adninjastrator

  • Navigation works in IE but not Firefox or Safari!

    Hi guys
    Why do my nav links on the hompage work in IE but not in Firefox and Safari? http://www.jasonkieck.com/
    Any help would be appreciated

    The main reason is you have a <div id="bg_grid"> at the end of your html that is essentially over the top of everything else on your page, including your links. All clicks go to that <div> rather than your links undeneath it. I'm kind of surprised it works in IE to be honest.
    You do also have a ton of errors as Gramps points out, but that particular issue is not technically an error, so I have a feeling you could fix the ~100 problems shown by the validator and still have the issue.
    You could use z-index to "order the stack" as it were. Changing the z-index attributes for the css of those elements will allow you to change their order, regardless of their location in the html. A higher z-index number, the "closer" it is to the viewer (higher on the stack).
    Right now, they are both set to 1, so the one that comes later in the html is on top.
    Adding z-index:999 to the menu <div>  should do it,

  • Works in IE but not FireFox?

    site is here
    http://carolyoungs.myartsonline.com/
    when i hosted it on a different server it worked in both browsers, now i changed to a different free host because of the mp3 file i have with the site, and some sites will not host mp3 and it only works with IE
    can anyone help me out?

    If it works in IE but not FF, then it has nothing to do with the mp3s. More likely it's because of the HTML on the page.
    To start, page is missing DOCTYPE declaration... a MAJOR problem. The DOCTYPE declares which set of rules the browser will use to display the page. Without it, different browsers go crazy or do not work at all.
    http://www.w3schools.com/tags/tag_DOCTYPE.asp
    Validate the html code here:
    http://validator.w3.org/
    You will have to fix all the errors if you want this to work in all browsers.
    Best wishes,
    Adninjastrator

  • Published interactive project works in IE but not in Chrome???

    My buttons and interactions are working through an Internet Explorer browser, but loose their functionality when play via Chrome. Anyone have any ideas?

    If it works in IE but not FF, then it has nothing to do with the mp3s. More likely it's because of the HTML on the page.
    To start, page is missing DOCTYPE declaration... a MAJOR problem. The DOCTYPE declares which set of rules the browser will use to display the page. Without it, different browsers go crazy or do not work at all.
    http://www.w3schools.com/tags/tag_DOCTYPE.asp
    Validate the html code here:
    http://validator.w3.org/
    You will have to fix all the errors if you want this to work in all browsers.
    Best wishes,
    Adninjastrator

  • Web sites containing mms links work in IE but not Firefox 4.0

    Web sites containing mms links work in IE but not Firefox 4.0. when I play the video in IE, I go into IE, and locate the mms link under properties, when I right click. If I copy the mms link form IE directly into firefox, it will work. There ought to be a better way to do this. Also, I am using a hardware firewall, not a software firewall, and no proxy.

    You need to use the file:// protocol, but you may still encounter problems if you fix that.
    See http://kb.mozillazine.org/Links_to_local_pages_do_not_work

  • HT204053 unable to log into iMatch using Apple Id and password.  Msg says i have valid Id for store but not iMatch.  What to do?

    unable to log into iMatch using Apple Id and password.  Msg says i have valid Id for store but not iMatch.  What to do?
    Is there a way to reset iMatch username and password?

    An Apple ID which consists of a non-Apple address can perfectly well be used to create and sign into an iCloud account (most Apple ID's take this form). Your problem is that you can't create an iCloud account on Windows: you can only do it on a Mac or an iOS device. Once created on one of those you can sign into it on Windows using the iCloud Control Panel.

  • Custom F4 help in a BSP application working in Mozilla but not in IE

    Hi,
    I have created a custom F4 help in a BSP application.
    It is working in Mozilla but not in IE. I tried enabling javascript as well but still it is not working.
    Can someone please suggest a possible solution for this?

    Hi,
    See simmilar discussion in thread /thread/1883519 [original link is broken]
    I think this may be helpful for you.
    Thanks,
    Chandra

  • Why does the counter work in MAX, but not Labview?

    Please help, I have been away from Labview for over 3 months, and I am quite rusty....
    Last year, I successfully configured NI9401 to measure period (seconds) by counting the rising edges of my sensor signal.  Since then, I have aquired a new PC, and loaded all my software into it, including the Labview VI's that successfully worked on the old computer.
    I can see the digital signal using MAX and the test panel for the NI9401, so, I know my wiring and my TTL signal is OK, but, when I try to run the attached VI, nothing happens except the error below..  How do I tell this VI to look for the signal on MOD3/CTR0 and channel 14?
    Thanks. I am sure it is a small adjustment...this worked fine a few months ago...not sure what is wrong now.
    Thanks,
    Dave
    Solved!
    Go to Solution.
    Attachments:
    continuously measure period buffered_singlechannel_forum_feb_23_2012.vi ‏20 KB

    OK, now.  Resolved the issue. The vi is fine, but, some shaky wires were identified...worked in MAX but not in the vi.  Now that the connections have been tightened up, it works for both.  Sorry for the inconvenience.
    Dave

Maybe you are looking for

  • Msg "Correct The Marked Line Items"

    FI Experts, I am trying to post an entry in GL when I try to save it tells me "Correct the Marked Line Items" I click on the blue items, it open up I do nothing but click save and I can post. This is fine when I have one entry to fix but not when I h

  • No Applescript works in iChat!

    I've tested this on 3 different Macs (all with OS 10.5.1) but all of them gets the same error. What I'm trying to do is to run Apples preinstalled script in iChat, but regardless of which of the scripts I run, I always get the following errormessage:

  • Gnome US Keyboard always appearing

    Hi, Since last upgrde to Gnome 2.28 (x86_64 version), I've been having problems with my macbook keyboard under Gnome. when I get into the keyboard settings an US layout appears, which I never set, so I delete it again to leave the spanish keyboard al

  • Upgrade breakage (file called /dev/tty[0-9]*)

    Today I updated a laptop with the usual pacman -Syu. After the upgrade (with no errors visible in pacman.log) i rebooted into a fscked system. Instead of /dev/tty0, /dev/tty1, ... I had a file called /dev/tty[0-9]* , and when the boot process complet

  • Is it possible to restore iCloud backup from iPhone3 to iPhone4 ?

    I had an iPhone 3 which had an hardware error, but I have an older iCloud backup of it. Now I got a used iPhone4 from a friend of mine, which he "cleaned" before he gave it to me. This is the first time I got to use this service - thank god I made an