Sen data to javascript pop up

Hi All:
I'm working with CRM IC Web Client, and i have developed a BSP Application wich uses BuPaDetail view, and the requirement is that i need to send the bp number from that view to a javascript pop up when the 'confirm' button is clicked, so i need to know how can i send that value to the pop up
thanks & regards

Hi Koen:
I've already tryed it, and it didn't worked, here is a piece of the code that i want to show in a popup:
<crmic:gridLayoutCell columnIndex="1" rowIndex="3" colSpan="3"><crmic:label design = "label"
                     id = "AccountNo"
                     for    = "//Customer/AccountNo"
                     tooltip = "<%= otr(crm_ic_appl/bupaTooltip3) %>"
                     text   = "<%= otr(crm_ic_appl/bupaAccountNo) %>"/></crmic:gridLayoutCell>
      <crmic:gridLayoutCell columnIndex="4" rowIndex="3" colSpan="5"><crmic:inputField id        = "AccountNo"
                          width = "100%"
                          maxlength = "10"
                          disabled = "TRUE"
                          value     = "//Customer/AccountNo" /></crmic:gridLayoutCell>
I want to pass the value of the field AccountNo to a popup, but the field is not in a form, so do you have any idea?
Thanks & regards

Similar Messages

  • How to pass the data from a pop up window to the parent window

    Hi All,
    I have a jsp page which contains a add button, while clicking it a popup will come out(which is a another jsp page). There are some input fieldsand a submit button. Now how could I send the data from the pop up to the parent winow. Also I have to check that if the pop up is open and I click add button then another pop up must not open.
    Plz reply its urgent
    Thanks and Regards
    Rajib Sharma

    Thanks for the reply
    But it not worked
    I have a jsp page and the popup is also a jsp page the data that is passed from the popup window to the parent must be send to the server from the parent window to get a data from the data base as search result. Its of no use to get it as js data
    Thanks and regards
    Rajib Sharma

  • Display of javascript pop-up messages in NLS

    Does anyone have experience with the following condition?
    Display problems will occur on javascript pop-up messages if using English O/S Browser while the language preference for the user is set for another local language.
    Pop-up messages become unreadable as a result. We are trying to come up with a solution to avoid this.

    Ummm - I don't think you'll get much help for JavaScript here, as it is no relation to Java.

  • Itunes error. the data execution prevention pops up and says "to protect your computer, windows has closed this program. Data execution prevention helps protect against damage from viruses and other threat.

    I have a windows Xp computer. and i needed to download the newest itunes to support my ipod touch. but now my computer doesn't let me open itunes. The the data execution prevention pops up and says "to protect your computer, windows has closed this program. Data execution prevention (DEP) helps protect against damage from viruses and other threat." I tried excluding itunes from DEP on settings but it still doesn't work. I don't know what to do. please help me!!!
    thanks 

    try to select the computer cd/dvd autorun off.
    I had the same problem, then Kaspersky software found a conflict suggesting me this solution.
    Itunes now works...even if it always asks to set the cd/dvd autorun on when lunched.

  • Javascript pop-ups - Classic ASP

    Anyone ever have a problem with javascript pop-up windows no longer keeping focus after upgrading to 5.0? We recently upgraded, and this is one of the quirky things that's come up...
    Wendy Ramsaur, KSA

    Found the culprit!.
    When disabling an add-on for grabbing material into TreeDBNotes - Add to TreeDBNotes 1.0 - the rest started working fine.
    The TreeDBNotes is a great word processor / database storage, that deserves more users and upgrades!

  • How to compare dates using javascript?

    Hi,
    I have to compare dates using javascript. The dates are in format "mm/dd/yy" for eg "10/09/06".
    I have written a script to compare the dates but the problem I 'm facing is with the year.
    For example if I compare "10/09/06" with "10/04/98", then "10/04/98" is coming out to be greater than "10/09/06" because it is considering year "98" to be greater than "06".
    Please advice/suggest.
    Thanks in advance...

    Dude, you're here in a Java forum, not in a Javascript forum. Those are two entirely different languages.
    The answer in Java is to use java.text.SimpleDateFormat to convert String to Date and use java.util.Date and/or java.util.Calendar to compare dates.

  • Passing data from JAVASCRIPT to SAP database

    Hi Experts,
    Is it possible to connect or access RFC function module through JAVASCRIPT? I want to send data from JAVASCRIPT to SAP database table.
    Is it possible to pass data from JAVASCRIPT to SAP database table?
    Thanks in advance.
    Regards,
    Arindam Samanta.

    OData services can be one option to achieve this.
    Another possibility can be use of Generic REST enablement with SAP NetWeaver Gateway.
    If you are not considering Gateway at all, then  A JSON adapter like the one mentioned in JSON Adapter for ABAP Function Modules can be handy.

  • What Are The Minimum Permissions In Order An User To Be Able To Access User Profile Data With JavaScript And REST API

    The question says it all:
    What Are The Minimum Permissions In Order An User To Be Able To Access User Profile Data With JavaScript And REST API.?
    In the User Profile -> Permissions there is only the option for "Full Control".

    Hi Nikolay,
    Thanks for posting your issue, you need to set permissions on User Profiles = Read. Kindly find the below mentioned URLs to get the code and more details on this.
    http://www.vrdmn.com/2013/02/sharepoint-2013-working-with-user.html
    http://www.vrdmn.com/2013/07/sharepoint-2013-get-userprofile.html
    http://sharepoint.stackexchange.com/questions/61714/sharepoint-2013-call-the-rest-api-from-sharepoint-hosted-app
    http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2013/04/09/how-to-query-sharepoint-2013-using-rest-and-javascript.aspx
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • I am not able to open a javascript pop up mapped from RH 8. Kindly let me know an easy solution.

    I am not able to open a javascript pop up mapped from RH 8 in IE and chrome browser . Kindly let me know an easy solution.
    Thank you

    Hi,
    What output are you using? WebHelp?
    If WebHelp, you may need to amend the way you call the help. You can add the option newwnd=false to ensure that RoboHelp doesn't open the help in a popup. See http://www.wvanweelden.eu/articles/part/regular-start-page for details.
    Greet,
    Willam

  • Transport data from Javascript file to BSP application

    Hi,
            How can we transport data from Javascript file that is stored in MIME repository to the BSP application that uses this Javascript?
    To elaborate :
    I  have a  BSP application which calls few functions from a Javascript file that is stored in the MIME repository. Now, i need to pass one of the values that is obtained dynamically in the Javascript function to the BSP application inorder to store it in DB.. How can I do this?
    Thanks,
    Vasuki

    Hi,
    you must only identify in which variable the javascript function stores the values. So you can enrich
    your bsp application with such a function. Then you must transfer the value to a hidden input field.
    This field content can be requested via  request->get_form_field( 'name_of_the_field' ).
    On the other side, check out, if ther is a getter function in this library.
    Use firwefox with firbug plugin an set breakpoint in the javascript function to get an overview about the dom modcel.
    Best regards, Stefan

  • Javascript pop up confirm

    I would like to have my form be able to delete a database
    entry by clicking
    a button. Easy enough.
    However, I want to make sure that it isn't done by accident.
    Can someone point me to information on how to create a
    javascript pop up to
    confirm the action prior to it executing?
    If a member where to click the remove client button, I would
    like a
    JavaScript window to pop up and ask "Are you sure?"
    If the use clicks yes, it will run the REMOVE sql query on
    the page, if they
    click no, it will just close the window and nothing will
    happen.
    Thanks
    Wally Kolcz
    Developer / Support

    I found many examples of JavaScript confirm popups, but I
    don't know how to
    edit it to do what I want. I have this and, except that it
    wants to leave
    the site, works fine. How can I edit this so it either goes
    to the right
    part of the web site (the delete sol block) or runs the
    delete block inside
    of it? Thanks!
    <script type="text/javascript">
    <!--
    function confirmation() {
    var answer = confirm("Remove client?")
    if (answer){
    alert("Client has been removed.")
    window.location = "
    http://www.google.com/";
    else{
    alert("Client has not been removed.")
    //-->
    </script>
    Wally Kolcz
    Developer / Support

  • JavaScript Pop-up Validation message

    Can we capture the JavaScript Pop-up validation message in OpenScript?

    Hi,
    While recording the Dialog box is captured with the option you choose. Subsequently, while play-back how do you dynamically change the option.
    Eg. While capturing you might have selected 'Yes' option and while playback you want to dynamically choose different option, can someone let me know the steps.
    Thanks
    Raj

  • Html tables with javascript pop up windows

    I have two tables with different table-id in html, that are as follows -
    table-header - consists of dynamic week wise days + resources
    table-data in with same nnumbers of columns...
                          for Img - http://i.stack.imgur.com/Gwvoq.png
    The Assign Task is a Button in every cell of table-data , What I need is , whent I click any button, the Pop-up window ( Kendowindow which is I m using right now in Javascript preferably) should display respective Cell row's 1st cell i.e resource's name and Id and cell column's 1st cell i.e. Date string.
    Please suggest the solutions.... Help is kindly appreciated.
    P.S. -- Please don't suggest Kendo Grid or Scheduler, because I can't able produce this kind of format, If you can do pls share your code and procedure.

    This forum is about JavaScript in PDF files, not in HTML pages.

  • Access to Data from Javascript

    I have a propertie call it "country" in my "Data View" and I need access its value from javascript code to use in a IF sentence.
    I try thinks such as "xfa.node.getAttribute("country")" but doens't work.
    How can I access it?
    Thanks.

    You can try like this:-
    if(country.rawValue == "IN")
       xfa.host.messageBox ("You selected India");  // This will display a pop-up
    else
       xfa.host.messageBox ("You selected some other country");
    Chintan

  • Calculating and Displaying Dates in Javascript

    Hello,
    I'm working on a flowchart form for my work, and am having issues getting a date to a) add correctly and b) display only certain portions of the date.
    I have four fields:
    CurrentDate - Displays the Current Date in MM/DD/YYYY format
    DropDownList1 - Contains a list of projects end users can choose from
    TextField1 - Displays text that tells the end user how many days the proejct will take
    DateField1 - Should add the CurrentDate + the Number of days the project will take and return a new date in the same MM/DD/YYYY format
    *Disclaimer* - I am not very experienced with scripting, and chose to go with JavaScript as I do have some previous past experience.
    Here is what I have for my code right now:
    if (DropDownList1.rawValue == 1){
    TextField1.rawValue = "2 Days";
    var AddDate = (Date.valueOf(CurrentDate) + (2*1000*60*60*24));
    DateField1.formattedValue = Date(AddDate);
    else if (DropDownList1.rawValue == 2){
    TextField1.rawValue = "1 Day";
    else if (DropDownList1.rawValue == 3){
    TextField1.rawValue = "2 Days";
    else if (DropDownList1.rawValue == 4){
    TextField1.rawValue = "2 Days";
    else if (DropDownList1.rawValue == 5){
    TextField1.rawValue = "4 Days";
    else if (DropDownList1.rawValue == 6){
    TextField1.rawValue = "5 Days";
    else if (DropDownList1.rawValue == 7){
    TextField1.rawValue = "4 Day";
    The end result is that the TextField1 displays the correct day, but the DateField1 displays a long string of the exact time and date of... well, the time - so no adding takes place. What I need is for the date to be displayed as MM/DD/YYYY. What am I doing wrong? I've only added the calculation to the first "if" statement, and will continue on to the rest once it is functioning.

    The following code will work in a LiveCycle Designer button using the "JavaScript" language option:
    var oNow = new Date(); // get date time object
    console.show(); // oepn and clear the JavaScript console
    console.clear();
    console.println("oNow = " + oNow);
    console.println("oNow.getFullYear() = " + oNow.getFullYear());
    console.println("oNow.getMonth() = " + oNow.getMonth());
    console.println("oNow.getDate() = " + oNow.getDate());
    console.println("oNow.getDay() = " + oNow.getDay());
    console.println("oNow.getHours() = " + oNow.getHours());
    console.println("oNow.getMinutes() = " + oNow.getMinutes());
    console.println("oNow.getSeconds() = " + oNow.getSeconds());
    console.println("oNow.getTimezoneOffset() = " + oNow.getTimezoneOffset());
    The following script uses FormCalc and can be used with a button for testing:
    var oDate = Date() // get today's date
    var Year = Num2Date(oDate, "YYYY") // get year four digits
    var Month = Num2Date(oDate, "MM") // get month 2 digits with leading zero
    var Date = Num2Date(oDate, "D") // get date without leading zero
    xfa.host.messageBox( Concat("oDate: ", oDate, " Year: ", Year, " Month: ", Month, " Date: ", Date) )
    var MyDate = "Feb 23, 2008" // a string data
    var Year = Num2Date( Date2Num(MyDate, "MMM D, YYYY"), "YY" ) // 2 digit year
    var Month = Num2Date( Date2Num(MyDate, "MMM D, YYYY"), "M" ) // month without leading zero
    var Date = Num2Date( Date2Num(MyDate, "MMM D, YYYY"), "DD" ) // day with leading zero
    xfa.host.messageBox( Concat("MyDate: ", MyDate, " Year: ", Year, " Month: ", Month, " Date: ", Date) )

Maybe you are looking for