Run JavaScript on event: Text Selection

I would like a custom menu (via popUpMenuEX) to appear when a user selects some text in Acrobat Standard 9.
To do this, I'd like to run some javascript code upon the user selecting some text. That way, the user selects text, and the popup menu automatically appears.
I'm guessing this can be done with C++ -- is such a thing possible?

First, we no longer support Acrobat 9.   So you should consider upgrading.
To answer your question, yes, you can write a plugin that bridges the selection to your JavaScript.

Similar Messages

  • Which event dispatched after text selection done on spark text area in Apple iPad using Adobe Flex 4

    I need to know which event triggered after text selection done in Apple iPad. This way i have done in desktop air app code (mouse events)
    protected function txtEditor_mouseUpHandler(event:MouseEvent):void
                if(txtEditor.selectionAnchorPosition != txtEditor.selectionActivePosition){
                    showNoteToolBar(event);
                    txtEditor.focusEnabled = true;
                    txtEditor.setFocus();
    But in Apple iPad how to achieve through "Touch Event" ? And also i need how to hide all context menu on Spaek TextArea?. Why Touch.End event is not fired after place cursor on text area ?
    Please help me !

    Ok, so I finally got it working but this is not ideal at all. Adobe really needs to give us some direction on how to properly deal with font embedding and TLF now that the release build breaks all functionality with loading runtime fonts and TLF.
    Problem:
    I am embedding collections of fonts (faces) into single family classes. Each individual face is registered with Font.registerFont(). I need to do this because I have to have mixed fonts within text flows - at least according to Alex H's recent blog post.
    Fonts do not display in TLF without doing the following:
    1. GlobalSettings.resolveFontLookupFunction = null;
    2. editor.textFlow.flowComposer.swfContext = ISWFContext(this.getFontContext("AnyFamilyNameFromAnyFontEmbedded", false, false, FontLookup.EMBEDDED_CFF));
    3. Instead of #2, use editor.textFlow.invalidateAllFormats();
    Either #2 or #3 need to be performed. If I have a spark richEditableText control in MXML with defined familes from the loaded fonts. I even tried placing the control into a separate state so it wasn't created until after the fonts were loaded... I still needed to invalidate the formats or set the context.
    The "AnyFamilyNameFromAnyFontEmbedded" does not need to be all of the embedded family names. It only needs to be one of them. Once one is used, all embedded fonts work. Also, I have to use the internal namespace to even get access to getFontContext, another oddity that, in my humble opinion, should never be necessary to create mixed style TLF content.
    My questions are then:
    1. Why am I required to use ISWFContext if I am using Font.registerFont()?
    2. Why is GlobalSettings.resolveFontLookupFunction = null; also required for this to work?
    3. What is the recommended workflow to embed fonts from multiple SWF files into the release build and have it work without having to jump through all these hoops?

  • How to handle value change events of select list in custom component?

    My HelloUIComp code...How to handle events for "Select"...if i choose option1 from select then one text box is to be displayed in custom component and if i choose another option then some other text box is to be displayed in custom components...
    public class HelloUIComp extends UIComponentBase {
        public static final String account="custom.account";
        public static final String RENDERER_TYPE = null;
        HtmlCommandButton button = createButton();
        //HtmlSelectOneMenu select=createSelect();
        public void processDecodes(FacesContext context) {
             Calling the lifecycle method "processDecodes" on the
             internal button is absolutely critical to create action events
             button.processDecodes(context);
             super.processDecodes(context);
        private HtmlCommandButton createButton() {
             FacesContext context = FacesContext.getCurrentInstance();
             HtmlCommandButton newButton = new HtmlCommandButton();
             newButton.setId("Add");
             newButton.setValue("Add");
             newButton.setType("submit");
             //newButton.setOnclick("return func_1(this,event);");
             MethodBinding binding = context.getApplication().createMethodBinding("#{pc_MyProjectView.go}", null);
             newButton.setAction(binding);
                  newButton.setParent(this);
             return newButton;
      /*  private HtmlSelectOneMenu createSelect()
             HtmlSelectOneMenu selectCategory=createSelect();
             return selectCategory;
         public void encodeBegin(FacesContext context) throws IOException {
              String style = (String)getAttributes().get("style");
              String startdate = (String)getAttributes().get("startdate");
              String enddate = (String)getAttributes().get("enddate");
              //String add=(String)getAttributes().get("add");
              ResponseWriter writer = context.getResponseWriter();
             writer.startElement("table", this);
            writer.writeAttribute("border","2","2");
            writer.startElement("tbody", this);
            writer.startElement("tr", this);
            writer.startElement("td", this);
            writer.writeText("Account Category", null);
            writer.endElement("td");
              writer.startElement("td", this);
              writer.writeText("Reg-No", null);
              writer.endElement("td");
              writer.startElement("td", this);
            writer.writeText("Account-No", null);
              writer.endElement("td");
              writer.startElement("td", this);
            writer.writeText("", null);
              writer.endElement("td");
              writer.startElement("td", this);
            writer.writeText("Start-Date", null);
              writer.endElement("td");
              writer.startElement("td", this);
            writer.writeText("End-Date", null);
              writer.endElement("td");
              writer.endElement("tr");
              writer.startElement("tr",this);          
              writer.startElement("td", this);
              writer.startElement("select", this);
            if (style!=null)
                   writer.writeAttribute("style", style, null);
            writer.writeAttribute("name","category","category");
            writer.startElement("option", this);
              writer.writeText("Select", null);
              writer.endElement("option");
              //to access data
              Account accountObj;
              AccountData accountDataobj;
              List listOfAccounts;
              int noOfAccounts;
              accountDataobj=new AccountData();
              listOfAccounts=accountDataobj.getAccounts();
              noOfAccounts=listOfAccounts.size();
              for(int i=0;i<noOfAccounts;i++)
              writer.startElement("option", this);     
              accountObj=(Account) listOfAccounts.get(i);
              writer.writeText(accountObj.getCategory(), null);
              writer.endElement("option");
              //System.out.println(accountObj.getRegNo());
              //System.out.println(accountObj.getAccountNo());
              writer.endElement("select");
              writer.endElement("td");
            writer.startElement("td", this);
              writer.startElement("select", this);
              if (style!=null)
                   writer.writeAttribute("style", style, null);
              writer.writeAttribute("name","regno","regno");
              writer.startElement("option", this);
              writer.writeText("Select", null);
              writer.endElement("option");
              for(int i=0;i<noOfAccounts;i++)
              accountObj=(Account) listOfAccounts.get(i);     
              writer.startElement("option", this);
              writer.writeText(""+accountObj.getRegNo(), null);
              writer.endElement("option");
              writer.endElement("select");
              writer.endElement("td");
              writer.startElement("td", this);
              writer.startElement("select", this);
              if (style!=null)
                   writer.writeAttribute("style", style, null);
              writer.writeAttribute("name","accno","accno");
              writer.startElement("option", this);
              writer.writeText("Select", null);
              writer.endElement("option");
              for(int i=0;i<noOfAccounts;i++)
              accountObj=(Account) listOfAccounts.get(i);
              writer.startElement("option", this);
              writer.writeText(accountObj.getAccountNo(), null);
              writer.endElement("option");
              //writer.startElement("option", this);
              //writer.writeText("00200155", null);
              //writer.endElement("option");
              writer.endElement("select");
              writer.endElement("td");
              writer.startElement("td", this);
              button.encodeBegin(context);
             button.encodeChildren(context);
             button.encodeEnd(context);
            writer.endElement("td");
              writer.startElement("td", this);
              writer.startElement("input", this);
              if (style!=null)
                   writer.writeAttribute("style", style, null);
              writer.writeAttribute("type","text","text");
              writer.writeAttribute("name","startdate","startdate");
              writer.writeAttribute("value",startdate,startdate);
              writer.writeAttribute("readonly", "","");
              //writer.endElement("input");
              writer.endElement("td");
              writer.startElement("td", this);
              writer.startElement("input", this);
              if (style!=null)
                   writer.writeAttribute("style", style, null);
              writer.writeAttribute("type","text","text");
              writer.writeAttribute("name","enddate","enddate");
              writer.writeAttribute("value",enddate,enddate);
              writer.writeAttribute("readonly", "","");
              writer.endElement("td");
              writer.endElement("tr");
              writer.endElement("tbody");
              writer.endElement("table");
         public String getFamily() {
              return "HelloFamily";
         }

    NewEclipseCoder wrote:
    How to handle events for "Select"...if i choose option1 from select then one text box is to be displayed in custom component and if i choose another option then some other text box is to be displayed in custom components...Two ways:
    1) submit the form to the server and render the desired textbox depending on the option.
    or
    2) render all textboxes and use Javascript/DOM to display/hide them depending on the option.

  • Query performance analysis in RSRT --- event text 'Wait Time, User'  means?

    Hi All,
    I am running some queries in RSRT in 'execute + debug' mode.
    selecting 'statistics data for query' option.
    Statistics says that most of the time is taken by the event 'Wait Time, User' (event text).
    handler type is OLAP or DFLT depending on the query.
    This is taking around 90% of the query run time.
    Can any one tell me what it means ? Where is it actualy taking time?
    What does it mean by :
    Event text --> 'waiting time, User'
    Handler type DFLT
    Handler type OLAP.
    A sample record of the statistics:
    4A2Z2CFA1GLIRPIK9O2Z18GK1     4A2Z2SN22IFE3AKOL50W9DQZ5     BEX3     2     ZS233BIWDEV     11.06.2008  19:29:08          DFLT               2     1     Wait Time, User     98.467887     0     1
    Thanks in advance.
    rgds,
    Raghu.
    Edited by: Raghu tej harish reddy on Jun 11, 2008 4:19 PM

    Thank you for your immediate response.
    But i won't think it is the time taken to enter the values in the variable screen because of two reasons:
    1.There are some events starting before these events(i can say by seeing the starting time of the events)
    2.For some queries this time is around 3 minutes; and i hardly take 30 seconds to enter the variable values.
    Thanks,
    Raghu

  • Dynamically change onchange event of select control of html

    Can I dynamically the onchange event of select control of html?
    i..e. change the task to be done when the onchange event is triggered.
    Thanks in advance

    Yes.
    At what point do you want to change it?
    What do you want to change it to?
    If you are generating the page, you can obviously produce different code behind the button using JSP to generate javascript code.
    eg
    function alertUser(){
      alert('<%=  alertMessage %>');
    }That will produce a different function every time you load the page, depending on the variable "alertMessage".
    You can also replace javascript handlers at runtime, just by simply assigning functions. However you at the client end you are only able to run javascript - no java.
    eg
    function alertUser1(){
      alert("action a");
    function alertUser2(){
      alert("action b");
    <button id="button1" onclick="alertUser1()">Alert!</button>
    <button onclick="button1.onclick=alertUser2">Alert!</button>Does that help?

  • "resolving alias to" message using aliases on 10.6.8 plus slow text-selection behavior

    Recently after no particular change to my Mac Pro3,2 running 10.6.8 other than some routine software updates, whenever I open an alias on my desktop to standard folders or files, a message shows up "Resolving alias to" whatever the alias name and there's a 2-3 second delay before the folder/file opens. I've found discussion of this issue in some archived discussions but never found a comfirmed solution described, so I'm raising this again. As in others' encounter with this behavior, the slow opening of aliases happens (1) only in my own user account, not in a guest account I set up for test purposes [I have no other user accounts than these], and (2) only happens the FIRST time I open an alias. Subsequent uses of the alias work normally.
    Another strange but possibly related behavior that began at the same time as this alias delay is harder to describe but involves a problem when selecting text using mouse clicks or even highlighting with the mouse for editing. For example, to edit the name of a file or folder on my desktop, I would normally click on the file/folder name, pause a moment and click again: this puts me in edit mode with the current file/folder name highlighted/selected. Now when I attempt this procedure, the second time I click immediately opens the file/folder, as though I had double-clicked rather than clicked+paused+clicked. The only way I can select the name of the file/folder to edit it is to click+long pause (like 3 seconds)+click. Then the text is selected as desired. It's as though the clicks are being recognized (by whatever in the OS recognizes clicks) as much faster than actually made.  There is a similar problem in any program I use that permits text editing, whether Word (Office 2011 for Mac), TextEdit, etc. I have to consciously slow down my cursor/click behavior when selecting text. If not, my actions are misinterpreted as double clicks. This text selection behavior also disappears when using a "Guest" user account, only appearing in my own user account. I Using a different mouse has no effect.
    Steps taken so far. I've Repaired Disk Permissions and Verified Disk using Disk Utility, have Safe Booted, and have turned off all login items in my user account,and recently installed the 10.6.8 supplemental update, all to no avail. Any suggestions or has anyone had and solved this/these problems?

    I think my problem has been that in Sytem Preferences>Mouse, my "Double-Click Speed" was set to the SLOWEST setting. After some experimentation, I now have the that setting two notches from the "Fast" end of the scale. In case it's important, the "Primary mouse button" in my Preferences is set to "Left".
    This not only solves the text selection issues described, but also seems to eliminate the strange "resolving alias to" problem.
    [For the curious, I have a Logitech Performance MX wireless mouse which can be configured with "Logitech Control Center". But the LCC software doesn't control double-click speed; this setting can only be made in the Mouse System Preference pane.]

  • Text Selection Hangs Since iOS 5.1.1 Update

    I have an iPhone 4 32GB on the AT&T network.
    Updated it to iOS 5.1.1 about two weeks ago.
    Since the update multiple applications (Apple and 3rd Party) have been showing this behavior:
    1) Click in a text entry or text area form field,
    2) Begin typing text,
    3) Touch anywhere in the field to bring up the monicle selection caret,
    4) The monical selection caret is shown and I can move the monical/caret around the screen,
    5) Un-touch the screen,
    6) ERROR - The monicle and the selection caret don't respond to user touch input and the app/OS hang for anywhere from 5 to 15 seconds,
    7) The standard "Select | Select All | ..." context pop-up window is shown, after that the app/system are responsive again. 
    Regarding the ERROR at step 6) above: Clicking Home does nothing, turning on/off with top-button does nothing, force shutdown responds only after the monicle/caret selector un-hangs.
    Once this has happened in a given text field/text area, it doesn't happen again on a subsequent text selection touch event... UNLESS I sleep the device, wake the device on the same app/field and try to select again... then it hangs again.
    To note, while it's hanging the loading-spinner is displayed in the title bar next to the AT&T 3G/Wifi Antenna icons, suggesting something in the background is doing a network search that's locking then entire foreground process.
    I've attempted to:
    1) hard reset the device,
    2) restore from a backup of 5.1 (doesn't have the aforementioned problem) and reinstall the 5.1.1 update (has the problem)
    3) swear at it and curse Steve Job's mock-turtleneck for allowing such a peice of **** bug to exist (even if it's not his fault ex post homine)
    Any further help would be great... I may end up downgrading to 5.1 just to not have to deal with this perpetual headache.
    Thanks,
    Etienne

    I'm having the same issue.  Phone started to degrade after update to 5.1.1  I have restarted, reset and restored from backup. I haven't tried to restore as new, as I'm not sure what the impact will be in my need to reset my corporate exchange e-mail, etc. 
    I see from many posts on other boards this is not isolated and is impacting many users. I'm using verizon as a the cell carrier. 
    My phone is warm and eating battery at a rate of 10% per half an hour in standby mode. No new apps or anything else of that nature.
    Tinus Barnard wrote:
    Will they fix this?

  • Keyboard shortcuts for text selection not working in Flash CC

    In the new Code Editor in Flash CC running on Mac OS X, most standard Keyboard Shortcuts for traversing through the text work as expected (as the Operating System works globally) but there is one that doesn't and it's I think the most important one.
    Hitting "OPTION + SHIFT + [right or left arrow keys]" to select words doesn't work. Hitting "OPTION + [right or left arrow keys]" works as expected, moving the cursor to the next word or break point, but adding shift doesn't do the selection.
    I don't understand why this changed since it's a basic OS global shortcuts, and every other program behaves the way it should. Flash CS6 running on the same system behaves fine, but Flash CC doesn't. If you have ever written code, you know that any second that a programmers hand doesn't have to leave the keyboard to search for the mouse is invaluable, and this has forced me to stop using Flash CC and use Flash CS6 to edit my Action Script classes becuase it's unusable otherwise.
    These shortcuts are also not listed in the keyboard shortcuts for the program, so I can't change the default behavior. Does anybody know if there's a way to set it back to the way it was before, or just disable special text shortcuts so that selecting text behaves like any other application in the operating system?
    System Configuration:
    Flash CC
    Mac OSX 10.8.5

    Amy~ Yep the lasso tool was what I verified with another user. 'L' seems to be bound indefinitely to loop through different types of lasso tools and it was annoying them because they just wanted L to be the regular freehand lasso. I removed 'L' from being an option on the polygon lasso and even set it explicitly to SHIFT+L as well as set the lasso tool to a completely different keyboard combo. 'L' still cycled through lassos haha. It needs some fixes.
    fertolg~ At least you have a workaround for now. I'd go nuts if I couldn't use keyboard text selection writing code, oy! You're welcome and if you're all set please mark correct so we can filter unanswered. Good luck!

  • How to run javascript programatically

    hello,
    I wonder if I can run javascript in bash to make photoshop convert raw to jpg.
    Google returned a few answer, but none of them give enough details.
    I just figured out photoshop can run javascript
    in Mac OS X,
    can I do something in bash like below:
    ./photoshop convert.js
    2nd problem:
    can photoshop & its javascript do batch processing?

    I used JQuery to override the behavior of Next button in pagination in Interactive reports. I execute my custom code to remove "Sum" for aggregate columns and then do default code for Next button. My requirement can be met if I could execute my code after default behavior of Next button.
    Below is the code I used in Header section of page attributes.
    <script type="text/javascript" src="#WORKSPACE_IMAGES#jquery-1.3.1.js"></script>
    <script type="text/javascript" src="#WORKSPACE_IMAGES#xx_util.js"></script>
    <script>
    $(document).ready(function() {
    $('.pagination').live("click", function(){
    eval(this.href);
    remove_sum_label();
    alert("Removed Sum Label");
    return true;
    </script>
    {code}
    Sample page is [http://apex.oracle.com/pls/otn/f?p=15944:3:235855021684863:::::]
    How can I execute custom code after default behavior of Next button in pagination?
    Thanks
    Kishore

  • Create and name an event by selecting photos in an existing event.

    If I select photos in an event and choose "create an event", the selected photos are lost and an "Untitled Event" appears. How do I name that event? It is a lost effort until that occurs.

    You cannot name the event while viewing pictures within the event.
    Get out of the event to where you are viewing all events. Click on the text under the thumbnail of the event you want to rename.
    You would think you could pull down the event menu and get an option for this when viewing photos within the event but that is not the case.

  • Split event before selected clip grayed out

    When editing movies, the option "split event before selected clip" is always grayed out...can anyone help???

    The reason to split an event is to make the footage easier to find when you start making projects. For example, if you shot a birthday party on the afternoon and a football game at night, they might import into the same Event (based on date). You could select the first clip of football and right-click/Split Event Before Selected Clip. Now you have two Events...a birthday party event and a football event.
    This has nothing to do with sharing and projects.
    A single project can use clips from many events.
    And you can make many projects from the clips in a single event.
    The project does not duplicate the footage that is stored in the Event, it just references it.
    A project is really a text file that is a recipe for building a movie. The recipe is executed when you "Share" or render your movie.
    For example the Project file might say
    "Look in Event XYZ and grab frames 1 through 200 from the third clip.
    Add an audio track from iTunes, and mute the audio track from the Event.
    Add a title that says this or that.
    Apply some color correction in these parameters.
    Now look at Event QPR and grab the second and third clips, but trim off the last 10 frames."
    Etc.
    Hope this helps.
    If you want to share multiple movies from an Event, you just create multiple projects that reference the event. Choose the frames you need by dragging and dropping. And then share the projects.
    No need to get QuickTime Pro involved.

  • CWNumEdit initial text selection state

    Any ideas on what can cause a CWNumEdit to have a blinking cursor instead of a complete text highlight upon receiving focus?
    Typically when I press tab to change the focus to a CWNumEdit control, the entire text of the control is selected.
    However, some instances of the CWNumEdit have a blinking cursor immediately after receiving focus instead of having all text selected. If I tab off and back on again, it now selects everything.
    I haven't keyed in on what I'm am doing differently with these misbehaving instances of the CWNumEdit. I am changing the RangeChecking properties, setting value, and changing the formatstring.

    It shouldn't do this when tabbing through the controls. When a numedit gets the focus from a left-click from the user though, then it will position the cursor in the number if the user clicked somewhere on the actual value to allow editing of the existing number. Are you seeing this in tabbing?
    If you are getting this from left-clicking the mouse, you can get past this by putting a CWNumEdit.SetFocus() call in the Click() event handler for the numedit control.
    Best Regards,
    Chris Matthews
    National Instruments

  • Unhelpful text selection

    I'm not certain if the problem I'm referring to is caused by Mac OS or individual applications, but here goes, anyway.
    I do a lot of editing of text, in Word, NeoOffice InDesign and a range of other programmes, for a magazine that I edit. Quite often I would like to select a limited range of characters, sometimes parts of consecutive words in order to delete them. However, when I try to select more than a few characters, the selection automatically expands to include a whole word, often including any punctuation that follows. This seems to happen in many programmes, which is why I wondered if it was an OS problem.
    I understand how this facility may be very helpful for someone who is just starting out on their Mac or who may have physical problem controlling the mouse to select a range of text. But for someone who is quite capable of deciding the precise text he wants to select - and who is therefore irritated when automatic features think they know better - this is a real nuisance!
    When I began using Macs, in 1987, the problem didn't exist. This is something that's appeared in recent years and seems to have got worse. Does anyone have any suggestions of how to turn of this automated text selection feature which constantly changes what I really want to select?
    Many thanks.

    BillCMartin wrote:
    I'm not certain if the problem I'm referring to is caused by Mac OS or individual applications, but here goes, anyway.
    I do a lot of editing of text, in Word, NeoOffice InDesign and a range of other programmes, for a magazine that I edit. Quite often I would like to select a limited range of characters, sometimes parts of consecutive words in order to delete them. However, when I try to select more than a few characters, the selection automatically expands to include a whole word, often including any punctuation that follows. This seems to happen in many programmes, which is why I wondered if it was an OS problem.
    I understand how this facility may be very helpful for someone who is just starting out on their Mac or who may have physical problem controlling the mouse to select a range of text. But for someone who is quite capable of deciding the precise text he wants to select - and who is therefore irritated when automatic features think they know better - this is a real nuisance!
    When I began using Macs, in 1987, the problem didn't exist. This is something that's appeared in recent years and seems to have got worse. Does anyone have any suggestions of how to turn of this automated text selection feature which constantly changes what I really want to select?
    Many thanks.
    I run those Text programs plus others but am not seeing the same symptoms as you describe. Have you done a search of these forums for anybody else with a similar problem who may have addressed it?
    Good Luck
    Pete

  • Submit processing with javascript "onUnload" event

    Hi there,
    I want a page to save its state regardless of how the user exits the page. Using page tabs, which have direct URLs, it seems the only way to do this is to use a javascript "onUnload" event which calls doSubmit(). The problem with this is that the submission requires a branch. Obviously, I don't want to branch the page; a destination has already been set. Telling the branch the is impossible as there is no way to access the destination URL for an onUnload event (understandably; it would be a serious breach of privacy.)
    So, the question I have is: is there any way to get a call to doSubmit() (or similar) to process the page, but not branch afterwards?
    Many thanks,
    Robert

    Robert,
    Take a look at the following thread -
    Re: clean page items when user leaves a page
    Whilst that thread deals with clearing items when the user leaves a page, it illustrates the issues of trying to capture the event of the user 'leaving' the page (after all 'leaving the page' could mean that they navigate to Google instead).
    An alternative way would not to try and capture the 'leaving event' but to store the values in session state automatically (perhaps using some of Carl's Ajax examples) when the user types them in, then have an application process that runs on every page that determines whether those values need to be written to the database or not.
    As an aside...I've heard of this requirement coming up quite a few times and I always question the logic behind it....since for every method that you can come up with as a way of forcing my input to be saved, I can come up with a way that will prevent it from working....until eventually we just reach the stage where I stand up and switch the machine off ;)

  • Running javascript with HTML

    Hi all,
    I am looking for a way and example of how to run javascript against an HTML file. My project is a web site test utility that can load HTML pages and submit forms, however some forms require executing javascript to set or validate various form fields. I've looked into the Rhino javascript engine, but I do not understand how to execute the javascript functions which change HTML form values. Can anyone give examples of how this can be done? Please let me know if I need to explain this further.
    Thanks!

    Sorry the description of what I am doing is a bit vague. My java application is like a web crawler, no web browser involved, but it needs to behave like a web browser. The application will parse html and follow links found in anchor HTML tags. When my app encounters a form, it can build the target URL by parsing the form action, and all form elements such as the input, select and whatnot. The tricky part is when forms involve javascript that may alter values in form input fields, for example, hidden input fields. In this case, my app cannot simply build the target URL combining form field values. My application must execute any found javascript functions so that the correct values are placed in the form fields, then the true URL can be built. I investigated the Rhino javascript engine, which seems great for executing javascript methods, but I cannot find how to include form fields in the HTML which the javascript function may alter. I'm not set on using Rhino, just anything that works.

Maybe you are looking for