DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41491>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41491


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |




------- Additional Comments From [EMAIL PROTECTED]  2007-01-30 07:56 -------
Thanks for your response.
Intially I thought its a clinet side problem.
But strangely it works in 4.0.3 and gives javascript error when deployed on
4.1.29 and 5.0.
The javascript code is within a jsp.
When I remove the line of code at where the browser says java script error, then
the error shows on the next line nad it goes on...
I felt its very strange.
The java script error is:
Line: 1062
char:9
Error: Syntax Error
Code: 0


The code in my programme is:

 
if(document.forma.f_800.options[document.forma.f_800.selectedIndex].value=='8') 
{
                  alert('Please select reason for Hold!!');
                  document.forma.f_801.disabled=false;
                  document.forma.f_801.className='';
                  document.forma.f_801.focus();
                 
document.all.id_801.style.cssText='background-image:url(required.gif);
background-position:top right; background-repeat:no-repeat;';

                  document.forma.f_2163.disabled=false;
                  document.forma.f_2163.className='';
                 
document.all.id_2163.style.cssText='background-image:url(required.gif);
background-position:top right; background-repeat:no-repeat;';
                  //alert(getFutureDate(new Date(new
Date().getTime()+21*24*60*60*1000)));
                  if((document.forma.f_2163.value=='') ||
(document.forma.f_2163.value=='NULL')) {
                    document.forma.f_2163.value=getFutureDate(new Date(new
Date().getTime()+21*24*60*60*1000)); // 3 weeks from now;
                  }

                  document.all.id_2160.style.cssText='';
                  document.all.id_2161.style.cssText='';
                  document.all.id_2162.style.cssText='';

                  document.forma.f_801.options.length = 0;
                  document.forma.f_801.options[0] = new Option('-->select<--',
'', false, false);
                  document.forma.f_801.options[1] = new Option('Waiting for
Customer', '530', false, false);
                  document.forma.f_801.options[2] = new Option('Waiting for
Technical Resolution', '531', false, false);
                  document.forma.f_801.options[3] = new Option('EVPN
Engagement', '532', false, false);
                  document.forma.f_801.options[4] = new Option('Waiting for
Process Resolution', '533', false, false);
                  document.forma.f_801.options[5] = new Option('Other', '534',
false, false);

                  document.all.f_2163_span.style.visibility='visible';
                  document.all.id_3062.style.cssText='';
                  //document.forma.f_3064.checked=false;
               }

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to