I have the following code:
I would like to recover the value of the variable <b> ie.document.parentWindow.execScript(" function msieversion(){ var ua = window.navigator.userAgent var msie = ua.indexOf ( 'MSIE ' ) var a = ua.substring (msie+5, ua.indexOf ('.', msie )) return a } msieversion() ") </b> I would like to recover the value of the variable <b>a</b> to use it in the ruby program thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---