How to place an apostrophe in a URL using Javascript

Can someone tell me how to have an apostrophe in a URL using Javascript. I created a Javascript function in which I spend multiple column values in a report of the APEX.

The URL of the report link that I use is "JAVASCRIPT:passBack('#EMP_ID#','#Name#','#e-mail#')".

The problem occurs with the name and email columns contain a single quotation mark (i.e. of James O'Brien)

You can add a new column to your report - do not show this--this column is replace(e-mail,''','\''') "e-mail2", then go e-mail2 instead of e-mail to javascript.
Same thing for the name and everything

Saad,

Tags: Database

Similar Questions

  • How to make a request on a URL using webworks development environment?

    Hey geeks,


    How to make a request on a URL using webworks development environment?


    Thanks in advance...!

    "A request for a url" you try to perform an ajax call and it does not work? Any field/origin you're wanting access must be white listed in a element in the config.xml file. Details of this are in the WebWorks development guide

  • How pass an array into a php url using the flex http service?

    How pass an array into a php url using the flex http service?
    im making something like this:
    http://localhost/flex_php/example_return_xml.php?id= {mylist}
    -mylist? TABLE
    -If I try to use a text variable it works for example. {myvar.text} where myvar is a text input

    Any idea!

    How can I get using XML?
    I tried to push the table in a textinput & sent the text of entry in php, it worked!

  • How to detect the operating system to PDF using javascript

    Hello

    How to detect the operating system to PDF using javascript. (Javascript console)

    Thanks in advance.

    App.Platform will return "WIN", "MAC" or "UNIX".

  • How to change the language settings in firefox using JavaScript

    My question is: how to change the language settings in the use of JavaScript in firefox:

    I want to set the value of intl.accept_languages en using JavaScript.

    How can I do?

    EDIT: The reason mail, I want to do is to be able to run selenium for different languages test scenarios with manually change them rather progrmmetically

    You will need to close and open the pref via user.js or prefs.js before restarting Firefox to perform the next test.

    See:

  • How to export the Indesign to Format XML using JavaScript document

    Hi all...

    Can someone help me, how to export the indesign document to XML Format using JavaScript...

    Thanks in advance...

    doc.exportFile ( ExportFormat.XML, File(Folder.desktop+"/doc.xml" )
    
  • How to access a document via a URL using docid?

    Hello

    I check the latest version of Oracle WebCenter content. When I create documents with their DOCID I need access to these documents by using the URL like this : http://application-tier server: port/some context/DOCID. Is this possible? When you check the URL that uses Oracle WebCenter content there is no constant URL basis.


    Kind regards

    Nestor Boscan

    Hi Nestor,.

    These are examples of URL:

    Document information (metadata) - http://localhost:16200/cs/idcplg? IdcService = DOC_INFO & dID = 804 & dDocName = DocID_000806

    To get the native file - http://localhost:16200/cs/idcplg? IdcService = GET_FILE & dID = 804 & dDocName = DocID_000806 & allowInterrupt = 1

    Please note you need to know is which is the ID of the revision of the document that you are trying to recover.

    HTH

    -Anand

  • How can pass us parameter to a URL using plugins?

    Hi all

    I'm having a plug-in that calls a url, I want to move the pointer to the active document (the setting) to that particular url.

    Is this possible?

    Thanks in advance

    Farida kaid

    I guess you would just need to some library able to encode a string to string 'secure url', then that stick on the end of the URL target in the usual way. No doubt if it is all done right, pass to this method of Adobe (either, OpenURL? I forgot) should work.

  • How to make the focus at Adobe Reader using JavaScript

    Hello

    I launch a URL in my PDF startup script in Adobe Reader (using app.launchURL).

    How can I return the focus to Adobe reader, so this window belongs to new assets above the browser?

    I am able to handle it in a browser (like IE) using Java, but other causes me problems, that is why I wonder, if the Acrobat JavaScript code could help me!

    Thank you!
    By

    You can't do that with Acrobat JavaScript.

  • How to download the image of the device using javascript

    Hi all

    I developed the web application. In I want to download the image in the folder in my possible device.if blackberry please give the code for me. Thanks in advance...

    Kind regards

    Marimuthu_P

    I did it with PhoneGap and their API FileTransfer long ago.

    I think he uses XHR - here's a great article on how to do several things with XHR and HTML5: http://www.html5rocks.com/en/tutorials/file/xhr2/

  • Place an SVG in a document using Javascript (Extendscript) illustrator

    Hello

    I'm trying to place an svg in illustrator with extendscript. Here is basically what I do

    var doc = app.documents.add(); var p = doc.placedItems.add(); p.file = new File(svgfilepath); 

    This operation fails with the error

    File is in a format that cannot be placed

    I am able to put the same file manually using file > Place. Am I missing something? Need help!

    [Link SO]

    Hi, try the following:

    // Reference: https://forums.adobe.com/thread/1722322
    //
    // Assumes you have an open Illustrator document
    // and an SVG file on your desktop named: testSVG.svg
    //
    // Basic Example:
    // Tested and worked in Illustrator CS5 / OS X
    //
    var doc = app.activeDocument;
    var svgFile = File(Folder.desktop + '/testSVG.svg');
    doc.groupItems.createFromFile(svgFile);
    

    Jongware say hello 'SO', and that it was right on the team of JS Illustrator. ;-) Also for later use, we have an Illustrator Scripting forum here.

  • How to get the code PIN Blackberry 10 using javascript for BB10 Webworks App?

    Hi all

    I have developed web application for blackberry 10 using the emulator to ripple and Blackberry 10 Webworks SDK 1.0.4.11.Here I put the automatic connection of my web application... So I want to get the Pin 10 of Blackberry number using javascript... Please help me... Someone knows... Thank you very much...

    Kind regards

    Marimuthu_P

    Which is documented here for WebWorks 2.0: https://developer.blackberry.com/html5/apis/beta/blackberry.identity.html#jbo1385148789774

    and here for WebWorks 1.0:

    https://developer.BlackBerry.com/HTML5/APIs/gold/BlackBerry.identity.html

    You want the uuid property.

  • How Radio group change of field of text using JavaScript?

    I am trying to let radio group changes the value of a text field by adding a prefix 't' or remove it from the text written in a database field.
    P23_TYPE is the Group of radio buttons.
    P_23_PROJECT_ID is the text field I want to change.

    I write this JavaScript function in the HTML header

    function set_project_id
    *{*
    String proj_id = $x('P23_PROJECT_ID').value;

    If ($x('P23_TYPE_0').checked)
    *{*
    If (proj_id [0] == 't')
    *{*
    PROJ_ID = proj_id.substring (1);
    * $x('P23_PROJECT_ID') .value = proj_id; *
    *}*
    *};*

    If ($x('P23_TYPE_1').checked)
    *{*
    If (proj_id [0]! = 't')
    *{*
    * $x('P23_PROJECT_ID') .value = ' you .concat (proj_id); *
    *}*
    *}*
    *}*

    and I add the following to the HTML form element attributes

    onclick = "set_project_id ()" "

    but when I run the page, it does nothing.
    What Miss me to achieve this change in dynamic text when I select a group of radio element?

    Hello

    I found still some bugs I know to make mistakes

    As I tried to say, use Firefox and Firebug. Firebug console, you can clearly see the javascript errors.

    You can try this code I've tried difficult

    
    

    BR, Jari

  • With the removal of APDivs, how to place an image specifically somewhere?

    I started to make Dreamweaver in the class about a week ago. My mission is to make a RESUME. In class, I used AP Divs make a homepage that redirects to my info, portfolio, etc.
    So I got home, installed and the 30 day trial, discovered on removing AP div tags. I understand this decision, and I was on the fence about whether or not it is appropriate to use AP div tags first place (feels like an inexpensive way to make a Web site).
    So how can I now place images in specific locations?

    apdivs.png

    It was about how far I got with my initial project using AP div tags. The picture of me on the button was placed using an AP Div. My name at the top left has not been placed with an AP Div (because I can't)

    I intend to restart from the beginning

    So my questions are:

    (1) how do I Center my background so that it looks good on all the aspect ratios

    (2) how to precisely place my images without tags AP div

    (3) what happened "insert a rollover image? I was just copy and paste the code from my other flight path images and change the images.

    Hopefully you can see what I'll do. If there is another way I should approach my goal feel free to tell me what I need to do.

    I would also appreciate it if you guys could explain as simple as possible. I'm really not in HTML and coding in general. I want to just make this assignment well look and do it soon (and move to the first in class).

    CSS handles virtually all of this for you...

    1. in your CSS...

    {body

    background - image: URL(Your-image.jpg);

    background-repeat: repeat no.;

    background-position: top center;

    }

    2. the logo at the top left, CSS...

    #logo {}

    Display: block;

    float: left;

    }

    The HTML code...

    the portrait at the bottom (if you still want to be centered at the bottom)

    {#portrait_wrapper}

    position: fixed;

    Width: 100%;

    Bottom: 0px;

    }

    {#portrait}

    Width: 100px; / * or some other less than 100% setting * /.

    Auto margin: 0;

    }

    3 Insert > rollover Image is now insert > HTML > rollover Image

    Visit this site and do the tutorials for html and css, it will make your work in much simpler DW: http://www.w3schools.com

  • How can I redirect a URL with JavaScript submit in Adobe LiveCycle

    How can I redirect a specific URL with JavaScript on submit in Adobe LiveCycle?

    I already have the code in place where the submit event is managed and just need specific code to do the redirect.

    Standard type asp.net redirects as

    Windows.Location.Replace (http://myURL.com);

    do not work.

    Any help would be appreciated.

    To be able to redirect a Web site with a "submit" button, you must have a custom submit button and insert the following line:

    app.launchURL ("www.url.com");

Maybe you are looking for