in reply to Re: reading web pages / how to look at javascript subroutine
in thread reading web pages / how to look at javascript subroutine

Is it possible for me to look at the code for JSub?
  • Comment on Re^2: reading web pages / how to look at javascript subroutine

Replies are listed 'Best First'.
Re^3: reading web pages / how to look at javascript subroutine
by Your Mother (Archbishop) on Nov 12, 2008 at 17:31 UTC

    Of course. You can't hide client side JS. You need to look in the srcs of the scripts as ikegami suggested. These ones-

    <script type="text/javascript" language='Javascript' src='/IAPD/In +cludes/Validation/Search/iapd_OrgSearch.js'></script> <script type="text/javascript" language='Javascript' src='/Iapd/ +Includes/iapd_WindowManagement.js'></script> <script type="text/javascript" language='Javascript' src='/Iapd/In +cludes/iapd_SetAndSub.js'></script>

    The function you're after is in the last one. This is pretty basic HTML, though. Good XHTML and JS tutorials would be a good investment before proceeding.

      Thank you, this was quite helpful. I see what is going on now. I see that it is submitting the form. I have posted forms before using PERL, but I'm not sure how to proceed here. I'll play around with it and see what I can figure out. Thanks again.
Re^3: reading web pages / how to look at javascript subroutine
by ikegami (Patriarch) on Nov 12, 2008 at 18:06 UTC
    Yes. Like I said, there are "SCRIPT" elements with a "src" attribute telling the client to download and execute external script s and where they are. Download them!