Fix Return False In Javascript Not Working In Firefox (Solved) Home > Return False > Return False In Javascript Not Working In Firefox

Return False In Javascript Not Working In Firefox

Contents

In that case, the behavior you see is correct: if the javascript: execution returns a value other than undefined that value is treated as a string of HTML and rendered. It has to be other thing ... :P –StuckOnSubmit Mar 30 '10 at 9:16 The submit event would not fire with this code. Code: onSubmit="return check_fields(this);"> function check_fields(oFrm) { //variable to see if any of the new fields was filled out var blChange = "No" var intWins = oFrm.WINS.value var strOldLastName = oFrm.old_last_name.value var IE didn't show any problems, but apparently one of my old scripts was still active , which used a IE-only function. this contact form

If they do not confirm, no change in the current page should occur. Privacy Statement| Terms of Use| Contact Us| Advertise With Us| CMS by Umbraco| Hosted on Microsoft Azure Feedback on ASP.NET| File Bugs| Support Lifecycle New Revised Forums CSS Codes Tools CSS Did I cheat? return false; is NOT working in Firefox (Javascript for cancelling events) [Answered]RSS 6 replies Last post Aug 17, 2007 08:04 PM by diadem_2k ‹ Previous Thread|Next Thread › Print Share Twitter

Return False Not Working In Chrome

share|improve this answer answered Mar 5 '13 at 2:43 Dtez 1 What changes did you make in order for it to work? Join Date Jun 2002 Location Philippines Posts 11,075 Thanks 0 Thanked 256 Times in 252 Posts Try putting alerts to see if check_fields function is really being called when the submit What exactly is happening? How can Average Joe create a micro-state that is a member of the UN in the least amount of time?

What Russian letter is this? Reply With Quote 05-09-2005,01:49 PM #6 shnplr View Profile View Forum Posts New Coder Join Date May 2005 Location Sydney, Aust Posts 43 Thanks 0 Thanked 0 Times in 0 Posts Reply With Quote Quick Navigation JavaScript Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums DD Scripts Dynamic Drive scripts help Submit a DHTML or CSS Unless you're restricted on the amount of space you have, going from 13 characters to 19 isn't that big of a deal. –Shaz Mar 24 '11 at 17:27 First

Let me take a quick look at this if I can. Jquery Return False Not Working In Firefox more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Edit: The useful answer was in a comment. If return false isn't working for other browsers, then it isn't crossbrowser.

If you do: Code: