Is there a chance that the record will change in the time between the
serving of the page and when the JavaScript function executes?  If so, then
it might be tough.

Perhaps you could have the JavaScript function open up a very small new
window, setting the .location property to the URL of your Net.Data macro.
If there is a form on the page in that window, you should be able to access
the values in that form.

Sounds ugly, but it should work.

Mike E.





                                                                                
                                                  
                      "Peter Vidal"                                             
                                                  
                      <Peter_Vidal@pall        To:       Web Enabling the AS400 
/ iSeries <web400@xxxxxxxxxxxx>                   
                      .com>                    cc:                              
                                                  
                      Sent by:                 Subject:  Re: [WEB400] Call 
Net.Data Function from Javascript                      
                      web400-bounces@mi                                         
                                                  
                      drange.com                                                
                                                  
                                                                                
                                                  
                                                                                
                                                  
                      11/18/2003 02:14                                          
                                                  
                      PM                                                        
                                                  
                      Please respond to                                         
                                                  
                      Web Enabling the                                          
                                                  
                      AS400 / iSeries                                           
                                                  
                                                                                
                                                  
                                                                                
                                                  





Mike:

The problem is that before I execute the Javascript, I need to get the
latest
image of the record.  Depending of the content of this EMPSTS field, is the
action I need to take.

Any ideas to accomplish this differently?
Peter Vidal
Pall Aeropower Corp.
SR Programmer Analyst
WWW.Pall.com

"A good player makes himself look good; a great player makes the team look
good."
Author unknown


_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.







As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.