JQuery.js not working in UNIX environment

Hi All,
My development environment is Linux with Apache and we are using Coldfusion 9.
We have developed some part of our code using jQuery.
This is perfectly working in our DEV environment.
We shipped the same code to the Production Environment. Which is Coldfusion 5 and Unix Environment with Apache Server.
The problem is the parameter passing to jQuery is always null.
Is jQuery will not work in Coldfusion 5?
Your help is needed.
Thanks in advance!

1. CF versions 9 and 5 and radically different.  I wouldn't expect code written for CF9 to run on CF5.
2. CF runs on the server, jQuery runs in the brower, the version of CF on your server shouldn't be relavent.  You should look for the problem in the HTML, Javascript, CSS, etc. in the browser.
3. We cannot help diagnose your problem without seeing the code that is causing the problem and any error messages you receive.
4. If this is a issue with jQuery on the browser you might consider posting a question to a jQuery specific forum.

Similar Messages

  • JavaMail API didnt work in UNIX environment

    I facing a problem whereby my JavaMail class, as below:
    public class MailExample {
    public static void main (String args[]) throws Exception {
    String from = " "; // email address of the sender
    String to = " "; // email address of the receipient
    String host = " "; // mail server id
    String subject = " "; // subject for the mail
    String content = " "; //content of the mail
    String error = null;
         try{
         // Get system properties
              Properties props = System.getProperties();
         // Set the transport protocol format
         props.put("mail.transport.protocol", "SMTP");
         // Setup mail server
         props.put("mail.smtp.host", host);
         // Get session     
         Session session = Session.getDefaultInstance(props, null);
         // Define message
         MimeMessage message = new MimeMessage(session);
         // Set the from address
         message.setFrom(new InternetAddress(from));
         // Set the to address
         message.addRecipient(Message.RecipientType.TO,
              new InternetAddress(to));
         // Set the subject
         message.setSubject(subject);
         // Set the content
         message.setText(content);
         // Send message
         Transport.send(message);
         }catch (Exception e)
              error = e.getMessage();
         System.out.println("\n" + error);
    This class works in Window based Exchange Server but not working in UNIX Exchange Server. Can anyone help me on this problem?
    Thanks.

    i'd found a solution for this problem.
    this is the code i use:
    try{
                        PrintStream out1;
                        SmtpClient send = new SmtpClient("smtp........com"); // create a mail client
                        send.from(emailVal); // email address of the sender
                        send.to(" "); // email address of the receiver
                        out1 = send.startMessage();
                        //Format of the email
                        out1.println("From: [email protected]");
                        out1.println("To: [email protected]");
                        out1.println("Subject: " + subject);
                        out1.println(content);
                        out1.flush();
                        out1.close();
                        send.closeServer();
                   catch (Exception e) {
                        errorMsg = e.getMessage();
    I'd used smtpClient to replace the JavaMail it really works in UNIX but it will show error : connection reset if you run it in Window environment.

  • In app purchase is not working in testing environment in sandbox for the past 5 days. Please anyone know about this issue.

    in app purchase is not working in testing environment in sandbox for the past 5 days. Please anyone know about this issue.
    What i did
      1 . Added three products more to the existing in-app
      2 . Tested with sanbox
    i am getting the error "cannot connect to itunes store" with error code "0" when trying to purchase product in sandbox.
    Is sandbox is down?Please help guys..

    Apple's sandbox has been down practically all month. You can check the status here:
    http://sandbox.itunes.apple.com

  • NVL in where clause not working with UNIX parameters

    Apparently this in a where clause does not work in UNIX scripts...
    .... and trans_date between to_date('&1','YYYY/MM/DD HH24:MI:SS')
    and to_date(NVL('&2','31-DEC-4712'),'YYYY/MM/DD HH24:MI:SS')
    and to_date(NVL('','31-DEC-4712'),'YYYY/MM/DD HH24:MI:SS')
    ERROR at line 14:
    ORA-01858: a non-numeric character was found where a numeric was expected
    How do I get around a null in UNIX? This works fine if both parameters are populated. Thanks.

    Jason ORCL wrote:
    Apparently this in a where clause does not work in UNIX scripts...
    .... and trans_date between to_date('&1','YYYY/MM/DD HH24:MI:SS')
    and to_date(NVL('&2','31-DEC-4712'),'YYYY/MM/DD HH24:MI:SS')
    and to_date(NVL('','31-DEC-4712'),'YYYY/MM/DD HH24:MI:SS')
    ERROR at line 14:
    ORA-01858: a non-numeric character was found where a numeric was expected
    How do I get around a null in UNIX? This works fine if both parameters are populated. Thanks.it's nothing to do with unix at all - your date value doesn't match the format mask that you've entered:
    '31-DEC-4712' doesn't map to 'YYYY/MM/DD HH24:MI:SS' in any universe unfortunately.

  • Functions (back & stop ) are not working in production environment

    Hi All ...
    Some functions (back and stop) are not working in production environment, where as those functions are working in QA testing environement..please answer.. what could be the reasons for not working some functions
    in production environement.
    Regards,,
    Krishna

    Hi,
    Based on the error message, it is related to the item in your production environment, then the workflow will occur exception.
    As your workflow worked perfectly in your other environments, I suggest you can check if some item has is valid in the document library.
    You can try to use Fiddler to track the web request and find in which item the workflow occurs exception.
    Here are some detailed articles for your reference:
    https://msdn.microsoft.com/en-us/library/vstudio/ee231573(v=vs.100).aspx
    http://www.andrewconnell.com/blog/SP2013-Workflow-Advanced-Workflow-Debugging-with-Fiddler
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

  • DbControl not working in clustered environment

    Hi all,
    I have a situation here with Oracle dbcontrol -it is not working in clustered environment. It is working on one node but fails on other node. Any suggestions ?
    Thanks in advance !

    http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/emca.htm
    in this article Oracle has given example with RAC. so thats why i asked that question.Exactly, with RAC. If you specify -cluster option, you should have a running cluster, isn't it ?

  • Will JCO work in Unix Environment and in Webshere 3.5

    I need to know whether SAPJCO.jar will work fine in unix environment and also whether is it compactible with websphere version 3.4.

    Hi Nikki,
    The answer for your question is <b>YES</b>. Unix supports java and Websphere. I think you are aware of of running complex J2EE applications on websphere. If you are able to run java based applications on your server and do not worry you can run sapjco.jar without any problem. Recently we had an integration project [ SAP R/3 and Lotus Domino Server]. It worked out perfectly.
    Read this will let you know more,
    http://www-128.ibm.com/developerworks/websphere/zones/portal/catalog/doc/appportletbuilder/ApplicationPortletBuilder_v410_wsdd.html
    Hope this will solve your problem.
    Thanks
    Kathirvel

  • Jquery is not working after i enable the attachments in Share Point EditForm

    Hi ,
    I have customized the Edit form .After customization the attachment functionality is not working and resolved the issue by creating the new Edit form .The attachments section only works if i don't push any j query/java script functions.If i comment below
    line two lines the attachment sections works.But i would need to include them .Could you tell me how would i call below script in EditForm.
    //_spBodyOnLoadFunctionNames.push("Test");
    //_spBodyOnLoadFunctionNames.push("checkStatus");
    <script>
    function redirect(offerID)
      var loc = "DispForm.aspx?ID=" + offerID;
      window.location.href = loc;
    function Test()    
    var TitleValue = "Drafting Communication";//$('#ctl00_m_g_1918401d_e6f3_4b9b_9262_dbb4aabcfd12_ff11_ctl00_ctl00_TextField').val();
    alert(TitleValue );
    if(TitleValue =="Drafting Communication")
    $("select[Title='Workflow Stage']").find('option:contains("Stage 1 – Review")').remove(); 
     $("select[Title='Workflow Stage']").find('option:contains("Stage 2 – Review")').remove(); 
     $("select[Title='Workflow Stage']").find('option:contains("Stage 3 – Review")').remove();
     $("select[Title='Workflow Stage']").find('option:contains("Stage 4 – Review")').remove();
     else if(TitleValue =="Stage-1 Pre Approval Business")
     $("select[Title='Workflow Stage']").find('option:contains("Drafting Communication")').remove(); 
     $("select[Title='Workflow Stage']").find('option:contains("Stage 2 – Review")').remove(); 
     $("select[Title='Workflow Stage']").find('option:contains("Stage 3 – Review")').remove();
     $("select[Title='Workflow Stage']").find('option:contains("Stage 4 – Review")').remove();
    else if(TitleValue =="Stage-2  Approval Marketing")
    $("select[Title='Workflow Stage']").find('option:contains("Drafting Communication")').remove(); 
     $("select[Title='Workflow Stage']").find('option:contains("Stage 1 – Review")').remove(); 
     $("select[Title='Workflow Stage']").find('option:contains("Stage 3 – Review")').remove();
     $("select[Title='Workflow Stage']").find('option:contains("Stage 4 – Review")').remove(); 
    else if(TitleValue =="Stage-3  Approval Director")
     $("select[Title='Workflow Stage']").find('option:contains("Drafting Communication")').remove(); 
     $("select[Title='Workflow Stage']").find('option:contains("Stage 2 – Review")').remove(); 
     $("select[Title='Workflow Stage']").find('option:contains("Stage 1 – Review")').remove();
     $("select[Title='Workflow Stage']").find('option:contains("Stage 4 – Review")').remove(); 
     else
    $("select[Title='Workflow Stage']").find('option:contains("Drafting Communication")').remove(); 
     $("select[Title='Workflow Stage']").find('option:contains("Stage 2 – Review")').remove(); 
     $("select[Title='Workflow Stage']").find('option:contains("Stage 1 – Review")').remove();
     $("select[Title='Workflow Stage']").find('option:contains("Stage 3 – Review")').remove(); 
      $(".SelectA").hide();
    function getTagFromIdentifierAndTitle(tagName, title) 
      var tags = document.getElementsByTagName(tagName);
        for (var i=0; i < tags.length; i++) {
         var tempString = tags[i].id;
        if (tags[i].title== title) {
        alert(tags[i].title);
          return tags[i].value;
      return null;
    function checkStatus() {
      var selectedId = getField('select','Current Status').options[getField('select','Current Status').selectedIndex].value;
       var docID = 73;
      if(selectedId == 'Approved')
       $("input[value$='Save']").attr('disabled', true); 
    function getField(fieldType,fieldTitle) {   
        var docTags = document.getElementsByTagName(fieldType);   
        for (var i=0; i < docTags.length; i++) {   
            if (docTags[i].title == fieldTitle) {   
                return docTags[i]   
    //_spBodyOnLoadFunctionNames.push("Test");
    //_spBodyOnLoadFunctionNames.push("checkStatus");
    </script>

    Hi,
    According to your post, my understanding is that you failed to use the _spBodyOnLoadFunctionNames.push() function.
    Per my knowledge, the _spBodyOnLoadFunctionNames.push() is SharePoint's version of jQuery's $(document).ready() or $(function(){}).
    I recommend you to add a content-editor-webpart on the page and add the code below on the source editor to check whether it works.
     <script language="javascript">
    _spBodyOnLoadFunctionNames.push("FunctionName");
    function FunctionName(){
        alert(Test);
    </script>
    More information:
    SharePoint JavaScript – Page Load Add function: _spBodyOnLoadFunctionNames
    If it works well, the issues is caused by the functions you created.
    You need to check whether your code are correct.
    In addition, you can make init.js loaded before _spBodyOnLoadFunctionNames.
    Here is a similar thread for your reference:
    http://sharepoint.stackexchange.com/questions/93937/spbodyonloadfunctionnames-not-working-on-master-page
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Security Issue httpOnlyCookies="true" is not working with production environment

    Dear All, 
    I have tired to make set cookie value as httpOnly
    The development environment is working fine and give me an output like that 
    Set-Cookie
    WSS_KeepSessionAuthenticated={3644d93c-d1d3-46cd-845f-42c01640ab21};
    path=/;
    HttpOnly
    But when implement the same changes in web.config production environment its not working 
    Set-Cookie                NLSessionCdomainweb=a98q9jnsy0vXk5+RHeHnlKmM+HnneA9KmhIAR6g1bJiwTs8sD6d7dfV1gBffc8HiJXBowxdO8LhZAiIEKiFY6PzNWySyRs5rvgCfPu8XIFnqKcN4XQ4UL9PN3JI3f4E6;path=/;domain=.domain.com
    I am using sharepoint 2010, under web.config i made the following changes  
    Add following tags under system.web
    <httpRuntime maxRequestLength="2097151" enableVersionHeader="false"
    />
    <httpCookies httpOnlyCookies="true"/>
    Add following tags under <system.webServer>
      <httpProtocol>
          <customHeaders>
                   <remove name="X-Powered-By" />
                 <remove name="MicrosoftSharePointTeamServices" />
          </customHeaders>
        </httpProtocol>
    Can any one tell me why it's happening i have checked all possible reasons from my side but no success  
    Regards 
    Rashid Bilgrami 
    RB

    Hi,
    From your description, I know you want to set cookie value as httpOnly but it is not work.
    Please try to add codes below to your global.asax file:
    <SCRIPT language="C#" runat="server">
    protected void Session_Start(Object sender, EventArgs e)
     try
      if (Request.IsSecureConnection == true)
                    Response.Cookies ["ASP.NET_SessionId"].Secure = true;
     catch (Exception)
    </SCRIPT>
    Please refer to this article:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/0fe55c13-3911-422e-af17-cb5c1ab2abd7/missing-secure-httponly-flags-on-sharepoint-2010-cookie?forum=sharepointadminprevious.
    Best Regards
    Vincent Han
    TechNet Community Support

  • Bursting control file for Printer not working in WINDOWS ENVIRONMENT

    Hi,
    We are trying to print xml publisher report output (PDF) using bursting control file. Is not wokring.
    We are using ebs (R12.1.1) on Windows environment.
    Any pre-requisite setup (ie. cups config) should be done before printing using control file. Please guide me i am not having knowledge in printer setup and printer part..
    Thanks in advance
    --Ben                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi Hussein,
    Yes, I am able to print seed concurrent report (o/p -text) to that printer (method:- giving the printer name and copies by clicking " Option " in SRS window.. )
    When i do the same for xml publisher publisher report to the same printer , its not working using bursting control file.
    I too made the test in xml publisher report without bursting control file , there i faced another new issue. Let me explain
    1. We are using RDF as data source . here o/p :-" XML "
    2. We are using RTF as layout. In template definition, i chose the default o/p type as :- "HTML"
    3. When i submit the request, i choose the printer which is working fine for printing seeded report. (method:- giving the printer name and copies by clicking " Option " in SRS window.. )
    4. My printer getting prints HTML tag, instead of desired o/p. I wondered after seeing the printout.
    5. I cross checked by clicking view output, its showing me the exact html output as per RTF layout.
    Dont know wat happening ??? Help me out.
    i did the same for changing default output type in template definition to RTF,PDF.. its printing source code of the output type instead of printing output.
    Thanks & Regards,
    --Ben                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Export excel option is not working in test environment in Firefox.

    In our application 'export excel' option is present in 4 different pages. All the excels working in development environment in both IE and FF. In testing env, all the excels working fine in
    IE. But only two excels are working in FF in testing env. Remaining not working and 'The connection was reset The connection to the server was reset while the page was loading' error page appears when we click on 'export excel' button. Can any one help on this issue...

    Hello,
    You can do one of the following:
    Select the table in Firefox and then copy it to the clipboard. In Excel do Paste Special and select either 'Unicode text' or 'text' to copy it into Excel.
    Use the Table2Clipboard extension. This will provide the Right-Click menu option, it will copy the data into the clipboard and you can then paste the selection into Excel.
    I hope that helps.

  • Jquery content not working after the updates from firefox

    Hi, i've realized that some of my website's banner is not working after the recent updates from firefox, whereas those website's banner is working in google chrome.
    Hope there is a solution for this as i'm using the firefox for years and wish this issues can be settle.
    The banner URL is http://www.irs.com.my/slider/index.html

    SlideDeck has a post on how to resolve this error, caused by a bug in this very old version of their library that you're using. See: [http://www.slidedeck.com/blog/firefox-20-update-and-slidedeck-js-weve-got-you-covered/ Firefox 20 update and SlideDeck.js – we’ve got you covered] for more information. As a Pro customer, you were supposed to get an email notice, but... here you are.
    I studied the script before discovering that and found two issues, but there might be more:
    (1) slidedeck.jquery.js detects Firefox 20 as Firefox 2 and halts. Note that this regex is the problem:
    firefox2:F.match(/firefox\/2/)?true:false
    (2) Starting in Firefox 16, the -moz-transform property was unprefixed, that is, you need to use transform for Firefox 16 and later.

  • Apex_util.get_print_Document not working outside apex environment

    I am working on one of the assignment in Apex 4.0.2 .
    The requirement is to dynamically generate reports and mail to User using the Scheduler program(Pl/sql) -> dbms_scheduler.
    I have used BI publisher to create the template and xml data for the report(Excel) and used Apex_util.get_print_Document
    in the scheduler program (which is written outside Apex), but this is not working properly,sends blank report to email.
    Please suggest how to set the apex session and use Apex_util.get_print_Document to work properly outside apex env.

    Apex (PL/SQL web-enabled) code needs to execute inside an Oracle server session that has been properly and correctly initialised for executing web enabled PL/SQL code.
    An example of how to execute such PL/SQL by intialising a proper environment, is shown in {message:id=2251131}.
    Note that this will not be able to execute Apex pages (via the flow engine) that are not public - that needs a proper authenticated Apex web session. Which could be a tad complex to emulate in this fashion.

  • JQuery Thickbox not working in safari

    i have implemented a jQuery thickbox and calendar on our live site http://www(.)houseofmoli(.)com. We are calling this thickbox from book now button and calendar under "Find an apartment:". The Problem with this is that the thickbox and calendar is opening in Firefox and IE all versions but not in google chrome and Safari. Probably $(document).ready() function is not working here.

    Mmmmm... this humble pie is delish.
    Ok, so after managing to reproduce this error on my old iPad I think I have it sussed. It's not the iPad's fault entirely. It seems that when you lock the iPad is can mess with the timestamps on events. Even after the app is reopened the timestamp seems to think that its back when it was locked. I've worked around this and used getTimestamp. Seems a few other people have seen this as well.
    Hopefully anyone in the same boat will see this. Thanks to anyone who read it.

  • Af|navigationpane-tabs::tab:hover af|navigationpane-tabs::tab-link  not working in Unix or Linux operating system

    Hai,
    I have the requirement that my Adf Application should have same skins(prototype) when there are running on Windows or Unix or Linux OS. First lines in two cases are working fine in Windows or Unix orLinux operating system,but the Second lines in two cases are working only in Windows but not in Unix or Linux. I mean to say that the text-decoration,color,background-color etc set for hover attribute of line-2 in both cases are not working.
    Can anybody help me in solving this issue.
    Cases are as follows:
    Case:1
    Line-1: af|navigationPane-tabs::tab-link{text-decoration: none; background-color: #6b5994; color: #ffffff; font-weight: 700; font-size: 12px;}
    Line-2: af|navigationPane-tabs::tab-link:hover{text-decoration: underline; background-color: #6b5994; color: #6b5994; font-weight: 700; font-size: 12px;}.
    Case:2
    Line-1: af|navigationPane-tabs::tab:selected af|navigationPane-tabs::tab-link {text-decoration: none; background-color: #6b5994; color: #ffffff; font-weight: 700; font-size: 12px;}
    Line-2: af|navigationPane-tabs::tab:selected:hover af|navigationPane-tabs::tab-link {text-decoration: underline; background-color: #6b5994; color: #ffffff; font-weight: 700; font-size: 12px;}
    Regards
    G Naveen Kumar

    Hai Frank,
      First up all Thank you for giving response to my query.As you asked it is not a Client OS,it's a Server OS.As you told I have changed the code to font-weight: bold but still it's not working.Anyhow my major requirement  is to change the text-decoration,color.
    Would you please help me in solving that?
    Regards
    G Naveen Kumar

Maybe you are looking for