473,320 Members | 1,991 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Why does onBlur not work in mozilla?

onBlur is not working in mozilla but working fine in IE
Following is the code block:
Expand|Select|Wrap|Line Numbers
  1. <input type="text" name="EndDate*cnt*" size="12" value="*EndDate*" maxlength="12" *Edatestatus* onBlur="update_Dates(this,document.ServicePricing.EnddateCheck,document.getElementById('EndDate*cnt*').value,document.getElementById('EndDate*cnt*'));date_quantity_updated();">
  2.  
  3. function update_Dates(olddate, newdate, begdatval, enddatfield)
  4. {
  5.  
  6. if ( olddate.name.charAt(0)== 'B')
  7. {
  8. alert('begin date vaidation');
  9.     sName = "Begin Date";
  10. }
  11. else 
  12. {
  13. alert('end date vaidation');
  14.     sName = "End Date";
  15. }
  16. status= validate_date(olddate);
  17. alert("status: "+status);
  18. if (status > 0 )
  19. {
  20.     document.ServicePricing.Dtvalidation.value="N";
  21.     alert('The ' +sName +' is Invalid');
  22.     olddate.focus();
  23.     olddate.select();
  24.     return false;
  25. }
Feb 2 '11 #1
1 1506
JKing
1,206 Expert 1GB
Check your javascript errors.

What is document.ServicePricing.EnddateCheck?
Feb 2 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Dennis Hueckelheim | last post by:
Hallo everybody, I have a problem with a little socket script. ----- snipp ----- $out_clients = socket_accept($socket_out); $http_welcome = "HTTP/1.0 200 OK\r\nContent-type:...
9
by: Larry Woods | last post by:
I have a site that works fine for days, then suddenly, I start getting ASP 0115 errors with an indication that session variables IN SEPARATE SESSIONS have disappeared! First, for background...
1
by: anand basha | last post by:
Hi ! What is the replacement for onBlur in Mozilla <body STYLE='background-color:buttonface;' leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 onBlur="window.focus()"> *** Sent via...
1
by: 20002937 | last post by:
Hi, In my JavaScript code, I have used window.event.clientY to get the Mouse coordinate ,, I can able to use this in IE.. But.. This is not working Mozilla .. Can anyone tell me how to get the...
15
by: skyy | last post by:
Hi.. i got the following javascript. Its working when using IE6.. but when i use mozilla 1.0.1 it does not work at all.. <SCRIPT language="JavaScript"> var upload_number=2; function...
4
by: shivendravikramsingh | last post by:
hi friends,i have facing a problem,when i m calling a function on onLoad event of Body,function is not working.but if i call this function on any other event like onblur etc. it work fine.but my...
0
by: tullyrob | last post by:
If you run the following simple line of code in IE the webpage loads a default page but the same code run in Mozilla loads fine. --- <html> <iframe name=stbbox...
3
by: gsherp | last post by:
I have an element that is a span. The span is filled in with data using innerHTML. var celldes = row.insertCell(2); var des = document.createElement('span'); des.id='desc' +...
8
by: jayasabari | last post by:
Hi all, I am working on asp.net. Iam fixing the image height and width but it taking the orginal image size in mozilla. Working fine in IE. Can any one help me.
7
by: quincy451 | last post by:
drop table . CREATE TABLE . ( NULL , (16) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , NULL , NULL , (16) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , (16) COLLATE
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.