calling javascript with setting function didn't work!

Hello!

I got a call from IR link column:

JavaScript:TestA1(#Name#)

and a header:

< script language = "JavaScript" type = "text/javascript" >
function TestA1 (txt)
{
Alert (txt);
}

It does not work! (No popup display). But if I change the #NAME parameter # to "asdf" then it works! What can be the problem?

Andras

Hello

Call it like

javascript:TestA1('#NAME#')

BR, Jari

Tags: Database

Similar Questions

  • Dynamic action calling JavaScript with parameters

    I have a DA who called some JavaScript to Hide/Show/cancel 2 P110_PARENT_SOLUTION_ID text elements, P110_ANSWER_TEXT be part of radio P110_DIRECTORY_TYPE.

    DA > settings > Code:

    If ($v ("P110_DIRECTORY_TYPE") == 'R') {}

    $("label[for=P110_HEADER_TEXT]").text ("name of the root directory")

    $x_Hide ('P110_PARENT_SOLUTION_ID');

    $x_Value('P110_PARENT_SOLUTION_ID',"");

    $x_Hide ('P110_ANSWER_TEXT');

    } ElseIf ($v ("P110_DIRECTORY_TYPE") == 'E') {}

    $("label[for=P110_HEADER_TEXT]").text ("header text")

    $x_Show ('P110_PARENT_SOLUTION_ID');

    $x_Show ('P110_ANSWER_TEXT');

    } ElseIf ($v ("P110_DIRECTORY_TYPE") ==' no) {}

    $("label[for=P110_HEADER_TEXT]").text ("directory name")

    $x_Show ('P110_PARENT_SOLUTION_ID');

    $x_Hide ('P110_ANSWER_TEXT');

    $x_Value('P110_ANSWER_TEXT',"");

    }

    This works perfectly, however I need to reproduce this code for 2 more areas on the same page. To do this, I created a JavaScript function with 3 parameters and call it in the dynamic action

    Page header > Javascript > function and Global Variable declaration:

    function ProcessDirType

    (I_DirectoryType

    I_ParentSolutionId

    I_AnswerText

    )

    {

    If ($v (I_DirectoryType) == 'R') {}

    $("label[for=P110_HEADER_TEXT]").text ("name of the root directory")

    $x_Hide (I_ParentSolutionId);

    $x_Value(I_ParentSolutionId,"");

    $x_Hide (I_AnswerText);

    } ElseIf ($v (I_DirectoryType) == 'E') {}

    $("label[for=P110_HEADER_TEXT]").text ("header text")

    $x_Show (I_ParentSolutionId);

    $x_Show (I_AnswerText);

    } ElseIf ($v (I_DirectoryType) ==' no) {}

    $("label[for=P110_HEADER_TEXT]").text ("directory name")

    $x_Show (I_ParentSolutionId);

    $x_Hide (I_AnswerText);

    $x_Value(I_AnswerText,"");

    }

    }

    DA > settings > Code:

    ProcessDirType

    ("P110_DIRECTORY_TYPE"

    , "P110_PARENT_SOLUTION_ID".

    , "P110_ANSWER_TEXT".

    );

    Her DA stopped working correctly, I tried to replace the parameters with single quotes but not joy.

    Can someone give me the correct syntax so that I can make my code more generic and call in three different DA?


    Concerning

    ADE

    I didn't think there would be syntax errors, everything looks good from here. Single or double quotes can be used.

    Maybe it's something to do with the way in which the dynamic action is called. Is what event listening? Nothing has been changed in order to manage several regions?

    You can add this sort of thing to your javascript to help determine what is invoked and view the output in the javascript console.

    console.log('I_DirectoryType:'+I_DirectoryType);
    
  • When did javascript to resize windows has stopped working?

    I just upgraded from Fx3.6.8 to Fx16.0.2, and now my javascript bookmarklets don't work. It doesn't seem to be a way to quickly resize a window by clicking on a bookmark that contains a javascript function, such as:

    JavaScript: (function() {window.moveTo (22.33);window.resizeTo(560,(screen.availHeight-35));})}) ();

    I noticed the same problem in Fx22 on another computer. So, apparently, even with javascript activated, these functions don't work the URL line.

    Is it possible to resize a window, otherwise than by manually by dragging a corner?

    You can run JavaScript code using the location bar, so you must use the command-line of the Web Console instead.

    • Bug 656433 - do not allow javascript: URLs to be executed from the URL bar
  • The service URL used in datacontrol call failed with code of State 404 not found

    Hello

    Using JDeveloper 12.1.3.0

    I'm creating a rest using EJB WebService.

    When I test my service it works fine but when I added it to the customer, what finish loading it return me this error

    404.png

    The method that I created in the service requires two arguments, BigDecimal and String

        @GET
        @Produces("application/xml")
        @Path("/{key}/{name}")
        public UsersList checkUser(@PathParam("key") BigDecimal key, @PathParam("name") String name) {
            UsersList listOfUsers = new UsersList();
            listOfUsers.setUsersList(SessionBean.getUsersCheck(key, name));
            return listOfUsers;
        }
    

    but in my DataControl, it appears in the customer like that

    check.png

    I created all on again once the Client and it always seems that way.

    Is the link that I defined in the service will not / {keys} / {name} or in the datacontrol /##key #/ ##name #?

    Thank you

    I discovered what I was doing wrong, sort of wheel, I tried to create a search query by using the arguments of the functions like @PathParams instead of using @QueryParams, so when I tested it I was inserting the values into the path because there was no form of insert values.

    Like this

        @GET
        @Produces("application/xml")
        @Path("/getname/")
        public CusttypList getByName(@QueryParam("name") String name) {
            CusttypList listOfCusttyp = new CusttypList();
            listOfCusttyp.setCusttypList(SessionBean.getCusttypFindByName(name));
            return listOfCusttyp;
        }
    

    With regard to the release I had to create the schema of an object by hand, using the portion of the schema that is generated by jdeveloper when I called count with all function.

    Thank you for your help

  • I have an iphone 6 it is damaged by water but I set myself and the person put it on charge and tested it with a multimeter and it worked perfectly but when I went to look for a screen tested on it, it didn't work

    I have an iphone 6 it is damaged by water but I set myself and the person put it on charge and tested it with a multimeter and it worked perfectly but when I went to get a screen tested on it because she does not have the person had not on is it did not work, even if the person has used only flow to correct and get a few corosions out with the replacement of some components of the person responsible for 10 minutes after having plugged in and the battery it wamer so it as I said her test with a multi meter test and he registered 12v and I wondered if something was wrong with it and if I could fix it easily?

    Check the liquid Indcator of Contact.

    Instructions here > liquid for iPhone or iPod is not covered by the warranty - Apple support

    Just so you know, the service of the liquid damage to an iPhone or iPod is not covered by the limited warranty of one Apple or an AppleCare Protection Plan (APP).

  • I have a 6 s with Verizon iPhone. Can I send/receive calls (using this service and calls on other devices functionality) on my iPhone 5s, who was with AT &amp; T service, but has no service now since I switched to Verizon?

    I have a 6 s with Verizon iPhone. Can I send/receive calls (using this service and calls on other devices functionality) on my iPhone 5s, who was with AT & T service, but has no service now since I switched to Verizon?

    Note: I'm able to get two phones to ring with an incoming call, but the 5s consist not out. Whenever I dial a number, it says call failed.

    Do not dial a number. Try to choose a contact in the contacts App and tapping on telephone button.

    That said, I don't think that outgoing calls work on continuity since another iPhone. given that the iphone is designed to make calls through its own service.

    Document to support that you just did not mention calls from a secondary iPhone at all, it points to Mac, iPad and iPod touch, which leads me to believe that it won't work.

    It runs from devices such as iPads and Macs, who have no other way to place a cell call.

  • For the years FF has worked perfectly with constant Contact. Now, the sevear in CC function will not work in FF browser - they work in all other browsers. Help

    Until a week ago, I had no difficulty or problems work permanent Contact all open in my Firefox browser. Now, I have several with certain functions in CC does not.

    Inserting images, links setting, background color change - these are three necessary functions I use in emails from constant Contact which will stop working at the opening of the CC in the Firefox browser - last updated was today 29/10/2013.

    The function works on Chrome and Internet Explorer browsers.
    I contacted the Support in permanent Contact and the issue is not through their program.

    Safe mode is a troubleshooting mode, it checks to see if Addons or bad prefs are the problem, if safe mode resolves, you will maybe uninstall some addons or reset firefox (bookmarks of Guard etc..)

    SEE: troubleshoot and diagnose problems of Firefox and Firefox Refresh - reset the parameters and modules

    Note the reset feature is NOT a complete reset, so backup information is optional (only the prefs, Addons and a few custom mods will be lost)

  • After updating to Firefox 15 it crashes at the end of a javascript call window.close (); opener.alert ('test'); Does work as expected or is this a bug?

    After updating to Firefox 15, it crashes after a popup called javascript window.close (); opener.alert ('test'); Does work as expected or is this a bug?

    It works better if you disable the modal prompt temporarily as a test by setting prompts.tab_modal.enabled false on the subject: config page?

  • Transition from tables to call a library function does not work after the application builder

    Call a DLL with function of library to call that requires a data table to work properly in Labview, but after building an exe with the application generator, the call no longer works.  Dereferecing the pointer in the DLL returns all values 0 and not the real.

    So finally figured it out.  It seems that you cannot use the utilities of pointer in an exe built such asGetValueByPointer.xnode.  Once I replaced the calls with calls to DSNewPtr and MoveBlock library, everything works as expected.

  • The "Open with" function does not work.

    'Open with... '. "does not work. I have Win 7. Usually when I have a new type of file can I associate a program with this extension, but recently I am unable to do so. I have a midi file normal (extension .mid) and I try to associate a program with it with the function "open with...". ", I choose the program from the list, but after that the function"open with... ". "forget my selection. I looked at regedit, to try to solve the problem, but I could not understand what I have to change.

    Here are a few topics for you at checkout.

    Problem with the menu 'Open with' - Microsoft Answers:
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-windows_programs/problem-with-open-with-menu/76b17b64-2Fe3-4c08-ac80-0ba80334dd8e

    Cannot select the program in 'open with... '. "- Microsoft Answers:
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-files/cannot-select-program-in-open-with/860fe524-4803-4c94-8ca7-7eac2649356c

    Can't 'open with... '. ', or define associations of files - Microsoft Answers:
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-windows_programs/cant-open-with-or-set-file-associations/d9452df6-c2c7-462e-B2ca-646f0ea782bd

  • I want to record with &lt; alt &gt; &lt; s &gt; in the Exact program online. This function does not work. This is the first time I use this program with firefox.

    Question
    I want to record with < alt > < s > in the Exact program online. This function does not work. This is the first time I use this program with firefox.

    edit, escaped mod < s > in order to avoid the line through question

    A web page can be defined a "accesskey" for an item. Unlike IE/Chrome/Safari, who use the Alt key only, Firefox requires pressing Alt and Shift to activate the element. In other words, try

    ALT + SHIFT + S

    and see if it works.

    I don't know of any way to change this so that the change is not necessary. There may be an add-on?

  • Kalonline-works until I get the anti-piracy icon so stop saying: there is a problem with the function of anti-hacking

    I play kalonline (RPG game), when to start the game it works up until I get the anti-piracy icon so stop saying: there is a problem with the function of anti-hacking. the program stops. I am the admin of it say kal computer run it in administrator mode and I did and I delete and reinstall the game. Solve the problem in win 7 by a right click and run as administrator, they wanted to work in win xp it all fits on how to solve this problem. These are the things, I was told to do to fix it.
    Hello

    It comes to KalOnline.

    Your error message can be corrected by following these steps:

    1. run KalOnline in Administrator Mode.

    2 uninstall KalOnline d_lete the entire Inixsoft folder, then reinstall the game.
    I did it and and it has not worked. then I was told that this was causing the problem

    Please check your computer system.

    This problem has occurred by a kind of problem of piracy.

    And if you have used a kind of memory-editing program, it could be happen too.

    So if your receipt similar to, then please remove it.
    I have none of these things on my computer. All I know is that people who have not updated windows xp can play the game and people who win 7 can play the game if they right click icon and run as administrator, that I still say side here but no way to prove it.

    Hello

    I suggest you to get in touch with the manufacturer of games and see if there are any other fix for this problem.

  • A that someone finds a solution or a mouse that works to align it with the function?

    OT: Mouse Snap to.

    A that someone finds a solution or a mouse that works to align it with the function? I see that this topic has been posted a few times, it's pretty frustrating to not have it.  And like someone else posted, I mean the option 'Automatically move pointer to the default in a dialog box button'.

    Take a look at this: Windows 7: the mouse - Snap to default button see option 2 on the download registry key.  I would always back up your registry in case where.

  • Transfer to PSTN calls on the SPA3102 VOIP does not work with voip providers who do not proxy outbond

    I use the SPA3102 to transmit calls from PSTN to Voip network. Work very well with a local Voip provider calls Vono (www.vono.net.br), I think that this provider is the one who has the outgoing proxy. However, I would like to use the SPA3102 forwardin PSTN calls with other providers such as Freevoipdeal, VoipWise, VoipRaider etc... These suppliers have no outbound proxy. How can I get around this? According to the link below, you need to plan an outbound proxy. What should do?

    http://www.Cisco.com/en/us/products/ps10024/products_qanda_item09186a0080a359ae.shtml#q

    For example, freevoipdeal voip provider guides that leave the field blank outgoing proxy as below.

    https://www.freevoipdeal.com/SIP

    You can leave the outgoing Proxy field blank.  You do not have to have an entry in this field for the SPA3012 works correctly.

  • Calling JavaScript function from c ++

    Hello

    I need to call a function javascript from c++ code. I have a webview in which an html page is opened.

    I can connect to c ++ js using navigator.cascades.postMessage. I have to call vice versa.

    c ++ for js now.

    Concerning

    Hello

    I tried another way of calling JavaScript function continue in every 5 seconds.

    Steps to follow:

    1 import im .js QML file.

    2. create a function in QML and call the java script of QMLfunctuion function.

    3 the signal of the CPP in every 5 seconds and connect this signal to function in QML whare you call java script function.

    4. it indirectly calls the java script function.

    Thank you

    Anand

Maybe you are looking for

  • Slow Safari and Firefox ping

    Hi all I use Safari 9.1 than my normal browser and OS X on a MacBook Pro late 2013 10.11.4. I tested my internet speed (speedtest.net) on all devices and noticed that my 6s iPhone and iPad 2 air both iOS 9.3.1 (speedtest.net app) had a ping of less t

  • rocket problems

    I have a 4 GB fuze black and my screen sometimes goes white (5 times), I was too reset it.also it freezes all the time and some time. possible reasons why she is doing this. PS I still love my rocket however.

  • BlackBerry Smartphones read only directory?

    There is a music video that came with my "BOLD" I want to rename it, but I get this error message 'Operation not allowed in readonly directory' is there a way to get around this?

  • Routing of PIX VPN site to Site?

    I just configured my PIX to establish VPN site to site with my Linksys (1710 to follow). Looks like my SA and IPSec are set up, but I get no routing. When I do a tracert, my PIX transmits all traffic to my internet router and not through the tunnel.

  • My Windows 7 is now saying that it is not authentic after a virus. Is there a way to fix this without reinstalling everything?

    Bought new Dell Office in February, preloaded with Windows 7 Prof 64 bit.  In April, a small problem (maybe a virus) caused several problems, which have been set except my copy of Windows is now reported as not authentic.  I have the product key, but