Javascript escape() function

Hello everyone,
I have a select input in a form, some of the options have strings in which there is
a space. like "San Francisco", "Los Angelos". I know javascript escape function can transform
those strings to URL string like, "San%20Francisco". But i tried several times with no luck:
Here is my code:<select name="city">
  <option value=escape('<%= cityName%>') selected> <%= cityName%>
</select> The value it submitted to server is not what I expected, it submit the whole thing:
escape("San Francisco").
Does anyone know what is the right way to invoke escape function in this circumstance?
Thank you in advance !
Rachel

Hmm.. it should be the same for GET or POST. The javascript encode function doesn't work the way you were using it. It would work if you did something like this:
<script>document.write('<option value="<%=city%>"><%=city%></option>');</script>
But the problem with this is you need to make the user aware that they need to have JavaScript enabled. So better to encode in Java before writing with URLEncoder, like you said.
But I'm pretty sure GET or POST shouldn't be different for that type of thing. Browser bug, maybe?

Similar Messages

  • How can I decode Japanese character using java from JavaScript escape() function

    Hi:
    I have an application which supports Japanese character. I am using JavaScript escape() function to encode the text field before I posted it through web server and then I will just convert it into hex number to decode it through an Integer. It works fine for the character between ascii 1-255. However, it faild on all the double bytes character. All the unicode has the format of "%uXXXX" after it is escaped from JavaScript. How can I resolve the decoding problem?
    Thank,
    David

    Please use 'encodeURI()', though it is supported only IE after 5.5.
    I'm not sure Netscape.
    Thanks,
    Katsumi
    dwang <[email protected]> wrote:
    Hi:
    I have an application which supports Japanese character. I am using JavaScript
    escape() function to encode the text field before I posted it through
    web server and then I will just convert it into hex number to decode
    it through an Integer. It works fine for the character between ascii
    1-255. However, it faild on all the double bytes character. All the
    unicode has the format of "%uXXXX" after it is escaped from JavaScript.
    How can I resolve the decoding problem?
    Thank,
    David

  • Equivalent of JavaScript escape function in PLSQL

    Hi,
    Is there any equivalent of JavaScript's "escape()" function in PlSql for web development? cos I found that whenever I have links generated in stored procedure with text that has space, single quote and so on will become invalid url syntax when user clicks on the hyperlink.
    So I hope to convert the text to valid syntax while generating the link.
    Please advise.
    Thank you so much.

    Hi,
    CREATE OR REPLACE FUNCTION UNESCAPE_F
    (P_TEXT IN VARCHAR2 := null) RETURN VARCHAR2 IS
    V_HEX2 VARCHAR2(1);
    V_CHAR VARCHAR2(1);
    V_TEXT VARCHAR2(4000);
    V_RETURN VARCHAR2(4000) := NULL;
    V_HEX1 VARCHAR2(1);
    BEGIN
    IF p_text IS NULL THEN
    v_return := NULL;
    ELSE
    v_text := p_text;
    WHILE INSTR(v_text, '%') > 0 LOOP
    v_return := v_return &#0124; &#0124; SUBSTR(v_text, 1, INSTR(v_text, '%') - 1);
    v_text := SUBSTR(v_text, INSTR(v_text, '%') + 1);
    v_hex1 := SUBSTR(v_text, 1, 1);
    v_hex2 := SUBSTR(v_text, 2, 1);
    v_text := SUBSTR(v_text, 3);
    SELECT
    CHR(
    (DECODE(v_hex1,'0',0,'1',1,'2',2,'3',3,'4',4,'5',5,'6',6,'7',7,'8',8,'9',9,'A',10,'B',11,'C',12,'D',13,'E',14,'F',15,0) * 16) +
    DECODE(v_hex2,'0',0,'1',1,'2',2,'3',3,'4',4,'5',5,'6',6,'7',7,'8',8,'9',9,'A',10,'B',11,'C',12,'D',13,'E',14,'F',15,0) )
    INTO v_char
    FROM dual;
    v_return := v_return &#0124; &#0124; v_char;
    END LOOP;
    v_return := v_return &#0124; &#0124; v_text;
    END IF;
    RETURN(v_return);
    END UNESCAPE_F;
    Regards Michael

  • JavaScript Alert functionality in PL/SQL

    I'm in need of implementing the JavaScript "Alert" functionality (display message and wait for user to acknowledge) in the "before displaying the page" PL/SQL block of portal reports and forms. While I'm at it - How about the JavaScript "history.back" function as well?
    Is this possible? Can you point me in the right direction.

    Hi,
    Where Portal says "before displaying the page" what it means is that it will run this code before it starts to htp.p() out the HTML of the page.
    In WebDB this was actually what happened, in Portal there are some elements of HTML output BEFORE this block of code is run.
    Anyway I don't think that you can have an alert that displays before the page is loaded. The page will still show behind the alert.
    To get around this you would need a blank page to show your alert that forwards you on to the required page.
    The history function can be called by the onclick event of a button or you can access Javascript through an anchor tag:-
    link text
    Regards Michael

  • Javascript sort() function not working correctly

    I have an image gallery that automatically loads via a PHP readdir function which populates an array, and then I have a Javascript sort() function which sorts the images in order numerically. In Chrome and Safari, the images display as numbered in the directory. However, in Firefox and Internet Explorer, they display out of order (firefox) and not at all (ie). Here is the code for the php file: <?
    Header("content-type: application/x-javascript");
    function returnimages($dirname=".") {
    $pattern="(\.jpg$)|(\.png$)|(\.jpeg$)|(\.gif$)";
    $files = array();
    $curimage=0;
    if($handle = opendir($dirname)) {
    while(false !== ($file = readdir($handle))){
    $file = basename($file,".jpg");
    echo 'myImg['.$curimage.']="'.$file .'";';
    $curimage++;
    closedir($handle);
    return($files);
    echo 'var myImg=new Array();';
    returnimages()
    ?>
    and here is the code for the javascript sort:
    function sortNumber(a,b)
    return a - b;
    myImg.sort(sortNumber);
    // Tell browser the type of file
    myImgEnd = ".jpg";
    var i = 0;
    // Create function to load image
    function loadImg(){
    document.imgSrc.src = myImg[i] + myImgEnd;
    Any ideas as to why Firefox is behaving this way?

    After you check the box to sort on the column, are you making sure to select a sort order for the same column?
    Earl

  • Javascript escaping problem

    I think i have an escaping problem, could someone please help me out:
    <script>
    function deleteConfirm(ID, thema){
         var theText = "" + thema;
         if( confirm("Weet u zeker dat u " + theText + " wilt verwijderen?"))     {
              document.location='lib/event_frm_process.jsp?action=delete&ID='+ ID;
    </script>
    Link using this function:
    <a href="\"javascript:deleteConfirm('<%=resultset.getString("ID")%">','<%=resultset.getString("thema")%>');"\><img src="images/verwijderen_hog_icon.gif" width="20" height="19" border="0" align="absmiddle"></a>
    Thank you in advance .......</a>

    Try:
    <a href="javascript:deleteConfirm('<%=resultset.getString("ID")%>','<%=resultset.getString("thema")%>');"\>The quotes inside the <%= %> do not conflict with the HTML quotes since they are handled server side and the HTML/javascript is handled client side.
    If that doesn't work, you will have to look at the HTML generated and see what the text coming out of the result set it (if it contains quotes or apostrophes itself). It the string coming from the result set is problematic you will have to re-arrange your quotes or process it some more before it is inserted...

  • How can I use JavaScript extention functions with Xalan for transforming XML with XSL

    While transforming standart XML and XSL files to HTML with this servlet:
    package mypackage1;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    import java.net.URL;
    import javax.xml.transform.*;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.transform.stream.StreamResult;
    import org.mozilla.javascript;
    public class Servlet2 extends HttpServlet
    private static final String CONTENT_TYPE = "text/html; charset=windows-1252";
    public void init(ServletConfig config) throws ServletException
    super.init(config);
    public void doGet(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException
    try
    response.setContentType(CONTENT_TYPE);
    PrintWriter out = response.getWriter();
    TransformerFactory tFactory = TransformerFactory.newInstance();
    Source xmlSource = new StreamSource(new FileReader("c:/aaa.xml"));
    Source xslSource = new StreamSource(new FileReader("c:/bbb.xsl"));
    Transformer transformer = tFactory.newTransformer(xslSource);
    transformer.transform (xmlSource, new StreamResult(out));
    catch (Exception e)
    e.printStackTrace();
    everything is going ok,
    but when try to use javascript function in XSL file, for example like in this:
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
    xmlns:lxslt="http://xml.apache.org/xslt" xmlns:my-ext="ext1"
    extension-element-prefixes="my-ext">
    <lxslt:component prefix="my-ext"
    functions="getdate">
    <lxslt:script lang="javascript">
    function getdate() {
    var d = new Date();
    return d.toUTCString();
    </lxslt:script>
    </lxslt:component>
    <xsl:template match="/">
    <p><xsl:copy-of select="my-ext:getdate()"/></p>
    </xsl:template>
    </xsl:stylesheet>
    recieve error-message:
    XSL-1000: (Fatal Error) Error while parsing XSL file (Extension function namespace should start with 'http://www.oracle.com/XSL/Transform/java/'.).
    What kind of namespace I should specify?

    Hello, Paul.
    I'm sure you may not use JavaScript as a language for creating XSLT extention functions with Oracle XDK Parser. This is since parser might have JavaScript interpreter to work with JavaScript, but it has not.
    If you need to build any XSLT extention functions you must build them as Java class' static methods.
    After that, you define the usage of the class by mean of namespace declaration as:
    xmlns:your-ns="http://www.oracle.com/XSL/Transform/java/yourpackage.Yourclass"
    (Prefix "http://www.oracle.com/XSL/Transform/java/" may differs if you use non-Oracle XML parser)
    and use class' static method in XSLT:
    <xsl:value-of select="your-ns.staticMethodName(paramsIfAny)"/>
    In your case you may wish to use standard Date class:
    xmlns:date="http://www.oracle.com/XSL/Transform/java/java.util.Date"
    <xsl:value-of select="date:toString(date:new)"/>

  • Trouble with using javascript $s function to populate a page item

    Hello Oracle APEX Community,
    I'm working on a drilldown dashboard page and have been encountering a problem when i try to populate a Text Page Item (hidden or not) using the javascript built in $s function.
    The function works great when the data is a number such as dept_id (even if the field type is varchar). However, trying to pass anything which is a text the process fails, except when a value is hard-coded as a parameter for the function. So for example, I have a chart with counts of constituents by state. I would like to populate (filter) a table based on when you click on a bar for a state without having to submit the page. I'm using dynamic actions and a built in javascript function in the SQL for the chart to accomplish this; but again, it works great when I use a varchar field like the FIPS code (i.e. the FIPS for Texas is '48'), but when I try to populate the page item using the state abbreviation 'TX' (again varchar) it fails.
    Here's an example of code that works:
    SELECT 'javascript:$s("P1_DEPTNO",'||d.deptno||')' LINK,
    d.dname LABEL,
    sum(e.SAL) sal
    FROM emp e, dept d
    where e.deptno = d.deptno
    group by 'javascript:$s("P1_DEPTNO",'||d.deptno||')', d.dname And here's an example of code that does not work:
    SELECT 'javascript:$s("P1_DEPTNO",'||d.loc||')' LINK,
    d.dname LABEL,
    sum(e.SAL) sal
    FROM emp e, dept d
    where e.deptno = d.deptno
    group by 'javascript:$s("P1_DEPTNO",'||d.loc||')', d.dname However, when I hard code a text value the script works:
    SELECT 'javascript:$s("P1_DEPTNO","BOSTON")' LINK,
    d.dname LABEL,
    sum(e.SAL) sal
    FROM emp e, dept d
    where e.deptno = d.deptno
    group by 'javascript:$s("P1_DEPTNO","BOSTON")', d.dname
    ORDER BY d.dname I'm encountering this problem on several versions of APEX: (4.0.2.00.07-local installation) and (4.1.0.00.28-apex.oracle.com)
    Does anybody know of this problem and how to solve it? I've looked for settings on the page item itself, and can't figure it out.
    I've re-written my sql to utilize the value fields of my tables instead but I have some objects on the page which are really going to depend on the character based data instead.
    Thanks,
    Wayne

    In your javascript you are generating, surround your value with double-quotes and it'll should then always work with both numbers and strings (your strings are probably being interpreted as variable names and they don't exist at runtime, hence erroring out).
    Example:
    SELECT 'javascript:$s("P1_DEPTNO","'||d.loc||'")' LINK,Edited by: gti_matt on Aug 16, 2011 9:50 AM

  • Javascript Date() function not working

    Hi,
    I'm experiencing some problems with the Date() function in javascript. The problem is that the function doesn't seem to work. For example when I do "var date = new Date(); xfa.host.messageBox(date);" in the enter event of a date field, I get "Date is not a function" error message in de javascript debugger.
    Is there anyone out there who knows how why the Date function is not working in LiveCycle Designer. Am I using the Date function in an improper way or maybe I am using the wrong function?
    Please can anyone help me out?

    Hi Paul,
    Thanx for you reply. It worked fine.
    I also found out that following works as well:
    var MyDate = util.scand("dd-mm-yyyy",new Date());
    console.println("this date: "+util.printd("dd-mm-yyyy", MyDate));

  • Javascript Alert function

    Hi,
    i have inserted an .js file in my project and imported it, the file is correct and the function is called too, but it alway retur an error, and i dont know why
    i have put this imn my onclick event JSF html button:
    onclick='javascript:newConfirm( "Remove records","Delete selected records?", 1,1,0)'
    in my .js file i have this function
    js file
    function newConfirm(title,mess,icon,defbut,mods) {
    IE4 = document.all;
    if (IE4) {
    icon = (icon==0) ? 0 : 2;
    defbut = (defbut==0) ? 0 : 1;
    retVal = makeMsgBox(title,mess,icon,4,defbut,mods);
    retVal = (retVal==6);
    else {
    retVal = confirm(mess);
    return retVal;
    do i´m doing something wrong ?? i´m using IE and it doesnt work, if i use Mozila it works fine...
    cheers,
    Epsy

    Hi,
    does it go into the
    if(IE4) loop at all ?
    Frank

  • Simple Javascript date() function not executing.

    If I open the javascript input window from a button and enter a simple js date function:
    vDate = new Date();
    alert(vDate();
    This code executes flawlessly when the button is clicked.
    However,  if I place the exact same code in the Execute Advacned Actions javascript window "on enter frame" Action, the alert popup code not exdecute/appear, it will fail silently.
    I'm simple trying to get a javascript funtion to execute on... the On Enter Action.
    Any suggestions?
    Thanks

    Hello,
    I just tried the scenario and I can see that JS code is executing properly. I used the same JS as you have given (just corrected the syntax in the second line). So, I create an Advanced action that has this JS, and I assigned that to "On Slide Enter" action of the slide. Other thing that I did is that I chose "current" as the window in the Execute Javascript options.
    Ashish

  • Using JavaScript / Custom function in ACTION_BEFORE_RENDERING

    Hi
    I need to include some of my own text in the print output of a template. On the template, I can include a text item, and include that text item in the print output. The problem, however, is that when printed, the text item's initial value is in the print output.
    So, I parametize the text item to include the Query Name, for example, and that value comes through in the print output.
    However, the client's request for some additional text to be included, namely the name of the iview. I can write JavaScript to extract the data they want included, and I can write the JavaScript to update the text item once the page has loaded, but the PDF generation doesn't seem to take that into account.
    I see on the Web Template Parameters there is a parameter called ACTION_BEFORE_RENDERING ... that seems to work nicely, but I can only hardcode a static value in there, or use one of the built in commands. This would probably work nicely for me, but I would need to call a JavaScript function ... any ideas?
    Cheers,
    Andrew

    HI
    Unfortunately, I didn't find a solution for that,
    I believe the problem is because you can run java scripts only after the whole report is loaded, so the only option is to run a command.
    I'm using the onLoad event and I'm hiding the main objects till after the java script function runs.
    And I also suffer from the same "flicker" issue.
    Shlomi

  • Overriding a javascript delivered function but then calling the original

    I have a tabular form (updateable report) and am on Apex 3.2.
    On this particular form, I have the updateable report set to "partial page refresh = yes". When doing so, it appears to want to call a javascript function called $a_report to paginate from one set of rows to another. I have my pagination set to select-list with row ranges.
    Before repagination continues, I would like to do some validation (specifically, see if the user selected any of the checkbox row selectors) and warn them via Javascript's "confirm" box that continuing will make them lose their selections.
    I have no issue so far in determining if at least one checkbox is checked and no problem popping up the confirmation box. However, the real issue is that I want to pop up the confirm box and then continue only if the user says they want to continue.
    Apex generates this report with the select-list and links to paginate by calling a function in Javascript called "$a_report". Since this is in the library, I cannot really get to it; it's a "black box" to me at runtime. So ideally what I'd like to do is create a local (on my page) javascript function of the same name (since I can't change what the select-list for pagination calls) accepting the same four parameters, do my checkbox validation and warning, and then effectively call the $a_report in the library to do the pagination if the user wants to continue.
    As it is right now I got a copy of the code for the function and put it local on my page and then added in my own logic, but of course this means that if $a_report changes in future versions, my local copy might break and would have to be updated. Ideally, I would like to somehow create a locally-named function called $a_report, do my validation and ask for confirmation, and if the user chooses "OK" to continue, call the library one in sort of a "super" or "parent" way to do the pagination.
    Is this possible with javascript to create some sort of OOP-like inheritance or some sort of sense of scope so that I can have a local copy and then call the one in the library?
    Thanks!

    Hi Kramis,
    Let's start with a simple example
    class OriginalClass
      public void doSomething( )
      System.out.println("This is the Original class's doSomething( ) ");
    class InheritedClass extends OriginalClass
      public void doSomething( )
      super.doSonething( );//Watch here you are calling the original method that was declared in OriginalClass
      //Now you are adding some codes of your choice
      System.out.println("This is Inherited class's doSomething( ) ");
    Explanation :
    When you create an object of type InheritedClass and you call the method doSomething( ) then the original method gets executed first and later the rest of the code written in the InheritedClass 's doSomething( ) method gets executed.I hope this works for you. If you do not want the original to be executed just remove the super.doSomething( ) call.

  • Javascript stopped functioning when reader 9.2  installed

    I have a fillable PDF form that was designed using Live Cycle Designer -
    It uses a javascript to load XML data and fill the PDF form fields.
    This had been working previously in a previous version of Reader but has suddenly stopeed working now that Reader 9.2 was installed -
    has there been some sort of a change in how javascripts function for the Reader since 9.2 . ?
    The Load function javascript is tested and currently works inside Acrobat Professional - but does nothing in Reader.
    Please help
    Thanks

    So then, a RIKLA is the only way to have this useful functionality available for the reader ?
    to me, it is clearly worth it - we have reader running everywhere - but corporate doens't like the $1,000 RIKLA price tag and the lack of a guarantee from Adobe that it will work in future relases , etc.
    no crafty work - arounds ? huh ?
    The current work-around is to write an Adobe Acrobat plug-in that allows a centralizd function to process XML files and fill out PDF's on demand from the XML files generated from a number of other smaller, processes.
    This means that an operator needs to, periodically, run the PDF filling plug-in function at a particualr workstation which has a running copy of Adobe Acrobat and then they filled PDF files are then visible - .
    The only other available solution is to generate a PDF from scratch - and that is an un-popular proposal - sice we would then need to maintain many different forms manually -
    Personally, i think Adobe is missing the bigger picture here -
    I think if they made this capability avaialbe they would sell more copies of Acrobat / live cycle because at mnay more people would want to automate this very tedious processing.
    Anyway - my two cents are up ....
    Thanks for the help

  • Javascript open() function returns undefined

    The javascript function open() specs like "fullscreen", "width", "height", seem not to work under Safari while they do under Firefox, Opera and even Explorer. So, I open a popup with : Win=open("<url>","","") and then , I use Win.resizeTo(<width>,<height>) where <width> and <height> was evaluated previously . But I obtain the message : "TypeError : 'undefined' is not an object (evaluating Win.resizeTo)".
    I found several problems with Safari (performance different from other browsers), and up to now, I managed to get round the problem. But in this case, I go blank !!!
    Please, can you help me to produce a code visible by Safarists ;o)

    Beaver13 wrote:
    Thank you "etresoft". In fact, I wrote the inappropriate term function, but as I detailed above, I used correctly resizeTo as a method of "what should be a window object". Syntax of the evaluation of this object by open is also correct since the root object window is implicit. Anyway, I tried adding window or this and I obtained the same behavior.
    In theory that is true, but it isn't working for you. While I'm quite fond of Javascript, it is a very flexible language and you could have installed any number of 3rd party additions that do all kinds of crazy things with it.
    Finally, could you say me how you would  open a popup with given dimensions ?
    I normally don't use pop-ups but I have one special case where a page is displayed inside of Google Earth. Google Earth isn't a real web browser, but looks like one, so it needs lots of hacks to get some functionality. When the user clicks an image link, it uses this function to pop-up a new window that redirects itself to the appropriate image URL, successfully downloading the requested image instead of the nasty error message the user would have seen otherwise - and no download. I will add a few extra comments to explain what is going on...
    // Pass in the id of the item to download.
    function embeddedDownloadItem(id)
         // Center the pop-up in a platform-neutral way.
        var top =
            window.screenTop
                ? window.screenTop
                : window.screenY;
        var left =
            window.screenLeft
                ? window.screenLeft
                : window.screenX;
        top += $(window).height();
        left += $(window).width();
        // Move it over a bit.
        left -= 200;
        // Use the id to construct a selector to
        // find and extract the URL.
        var url = $('#url-' + id).attr('value');
        // Download the file via new window.
        downloadWindow =
            window.open(
                url,
                "Download",
                'top=' + top + ', left=' + left
                    + ',width=200,height=100');
        // Close the new window in 5 seconds.
        setTimeout("downloadWindow.close();", 5000);
        // Hide it until that happens.
        window.focus();
    As you can see, I am using jQuery which does some of that crazy stuff I mentioned earlier. However, that is not something you really want to live without. This is a special case that just pops up a window, redirects to download an image, and then goes away. I actually recommend not using pop-ups at all because they are too easy to block. In this case, it is running out of Google Earth with doesn't have a pop-up blocker, so I lucked out.
    I don't know why your code isn't working. Have you tried the demos at w3schools? They are always very handy.
    I agree with you, Safari has the best debugging features, but, I'm a little more circumspect about "the most standard compliant", but maybe I'm wrong.
    That is just what I have found. I am not really a web developer, but I have been roped into it. Because I don't really enjoy it, I don't have the same obsession towards perfection that I would elsewhere. If I can get it working in the major browsers, that's good enough for me.
    I always build in Safari first. The latest Safari has a few more debugging bells and whistles but is actually a bit harder to use in this aspect than the previous version. I build a "clean-room" version of the site in Safari with no hacks of any kind. Everything works as it should in an "ideal" browser, which just happens to be Safari. The console window and "window.console.log()" are your friends. "Inspect element" is very powerful.
    I don't bother with Chrome because it is so similar to Safari. I have never seen a significant difference between the two.
    Next up is IE7. Parallels to the rescue. Thankfully, I don't have to support IE6 anymore. IE has some very nice, version-specific hacks that allow you retain some of your sanity. I also use Zend which automatically generates these constructs. I can do something like:
            $this->view->headLink()->appendStylesheet(
                $this->view->baseUrl() . '/css/ie7.css', 'all', 'IE 7');
            $this->view->headLink()->appendStylesheet(
                $this->view->baseUrl() . '/css/ie8.css', 'all', 'IE 8');
    which will generate:
    <!--[if IE 7]> <link href="/css/ie7.css" media="all" rel="stylesheet" type="text/css" /><![endif]-->
    <!--[if IE 8]> <link href="/css/ie8.css" media="all" rel="stylesheet" type="text/css" /><![endif]-->
    Zend supports the same thing with Javascript, with a little bit more mess:
            $this->view->headScript()->appendFile(
                $this->view->baseUrl() . '/js_include/warning.js',
                'text/javascript',
                array('conditional' => 'IE 6'));
            $this->view->headScript()->appendScript(
                sprintf(
                    'window.onload=function(){e("%s")}',
                    $this->view->baseUrl() . '/images'),
                'text/javascript',
                array('conditional' => 'IE 6'));
    generates:
    <!--[if IE 6]> <script type="text/javascript" src="/js_include/warning.js"></script><![endif]-->
    <!--[if IE 6]> <script type="text/javascript">
        //<![CDATA[
    window.onload=function(){e("/images")}    //]]>
    </script><![endif]-->
    In this example, I just pop-up a warning saying IE6 isn't supported at all.
    You can do most of the IE7 and IE8 support with the above CSS hacks. If you need to change the structure to support IE, then once it works in IE you have to go back and re-test in Safari.
    I have found that IE9 is much more standards-compliant and needs very little help.
    Firefox is actually one of the flakier browsers these days - even more so than IE9. I actually have to add a special section of Firefox hacks at the end of my CSS like this:
    /* Firefox hacks */
    @-moz-document url-prefix()
        #kml_loading,
        #kmz_loading,
        #shapefile_loading
            top: -1px;
    Unfortunately, Firefox wasn't known to be a troublemaker like IE so the hacks are more ugly than in IE.

Maybe you are looking for

  • How to increase the quantity in KANBAN bin via BAPI or user exit?

    Hi everyone, Currently my interface is posting MIGO movement type 201 (Goods Issue with ref to Cost Centre).Stock in SLOC will decrese. Then my program will use BAPI (BAPI_KANBANCC_WITHDRAWQUANTITY) to update the qty in the KANBAN to reduce the qty.

  • Adobe Reader XI - Sticky Notes Inactive

    I am using the Adobe Reader XI program. Every time I place a sticky note and save the pdf. and reopen the pdf, the sticky notes appear to be rotated and are inactive. Can someone help with this issue?

  • CD Spin Doctor?

    I receive thru e-mail some video's sent from friends. These are not long and only last about 2-3 minutes. When I go to open them I get this "CD Spin Doctor" that opens. I think that this is from Roxio. Why does it open when I go to play these video's

  • Display a text with many lines

    is within WD UI Element availablw where by I can display a text with many lines ? Regards Marco M

  • 11 Improvement Suggestions

    For a long time now I have been looking for a fast useful organizer that will allow me to organize my research PDFs, financial documents, etc. Basically trying to go towards a paperless home office if possible, and at the same time using it to keep u