Question of JQuery

I have a question I hope someone can help me.  I'm trying to run a script (Dynacloud) JQuery, but I want the script to refresh and run again if a page is updated by the user.  I don't have a ton of experience working with JQuery, but I'm trying to learn it in a hurry for a project I'm working on that.  If anyone can help me out with this, it is greatly appreciated.

Insert the code you want to run for example - inside the document ready function

{$(document) .ready (function ()}

your code goes here

});

PZ

Tags: Dreamweaver

Similar Questions

  • question of jQuery selector...

    Hi all...

    Please help me with this question of jquery.

    In the interactive reports, I would like to hide the option
    «Row "(filter) (option radio button) in the"Actions-> filter""»

    This is the code I used, but it does not work.
    I am very new to jquery, please help me with the syntax of jquery.
    $(function(){
    $("ul li:contains('Filter')").live('click',function(){
    $("#APEXIR_FILTER_TYPE_1").hide();  -- i need to hide that ""complete option""
    }); 
    });
    APEX: 4.1
    Database: 11g
    Browser: IE7

    Hello

    OK, sorry.
    Maybe you try just pure CSS. Add in the HTML page header

    
    

    I think that you can hide the radio buttons

    Kind regards
    Jari

    http://dbswh.webhop.NET/dbswh/f?p=blog:Home:0

  • Quick question on JQuery

    Hi guys,.

    I just start learning JQuery... I have a region whose ID is closed and select the list item P12_deal_status.

    When the value of this element of fact, then the closed region should appear.

    I used this feature, but how can I do conditional...
    $("#P12_DEAL_STATUS").change (function () {}
    $("#closed").show ("slow");
    });
    I use APEX 4.1, theme: single red, Oracle 11 g xe, browser Google chrome and model FORM region...
    Kind regards
    Fateh

    Hello

    Try

    $("#P12_DEAL_STATUS").change(function(){
     if($v(this)==="done"){
      $("#closed").show("slow");
     }else{
      $("#closed").hide();
     }
    });
    

    Kind regards
    Jari

    http://dbswh.webhop.NET/dbswh/f?p=blog:Home:0

    Published by: jarola on 7 February 2012 07:30

  • jQuery does not

    Hello, I have a question about jquery in OJECT.

    I tried to use JQuery in my site PROJECT, but for some reason that I can't run a simple alert on an onclick. Below is a simple example. I don't know why I can't use Jquery, any help would be appreciated.

    HTML

    Content area of people < h1 > < / h1 >

    < div class = "alert alert-info" > click the "analyze". < / div >

    < button class = 'btn' id = 'btnParse' title = ' Parse the tabs ' > Parse < / button >

    < div link = "text: something" > < / div >

    My JS looks like this

    set ([' OJ/ojcore', 'knockout', 'jquery'

    ], {}, function (JO, KB)

    function peopleContentViewModel() {}

    var self = this;

    Self.something = ko.observable ("Hello World");

    }

    $(document) .ready (function () {}

    $(function () {})

    $('#btnContainer').on ('click', '#btnParse', function () {alert ('clicked') ;});

    });

    each view model bind to a page jQueryMobile

    ko.applyBindings (peopleContentViewModel, document.getElementById ("mainCol"));

    });

    });

    Hello, sorry I should have provided this information in addition.

    I found my problem. It was just my lack of understanding the result obtained by KO and when items are available in the DOM.

    I could say and read that the element is rendered to the page by Ko when I try to link the event. I guess that writing, it wouldn't work that way?

    $(element) .one (' events ', someFunction ');

    I changed my test script and was able to run the correct result on my test onclick

    $(document) .one ('click', 'item', function() {alert ("helloooo") ;});

  • jQuery Puzzler

    My apologies in advance for posting this question purely jQuery here, but what I can say? I am stuck and desperate. So, please have mercy and help me anyway... sniffle... sniffle

    I need to create a jQuery selector composed but, I need to be AND instead of OR. The goal is to add an extra class to two columns in a table where column A AND column B Val1 = = Val2.

    For example:

    "td [headers ="CLEARERID"] select option: selected:contains (013), td [headers ="MARGINING_ACCOUNT"] select option: selected:contains (H)'.

    The selector above are the cells where the column is CLEARERID and the value is 013 OR the column is MARGINING_ACCOUNT and the value:

    The problem with it being a RC, is that, in the lines where CLEARERID = 014 and MARGINING_ACCOUNT is H, the MARGINING_ACCOUNT becomes the extra class which is false.

    Probably something simple, but it's been stuck on this during some time now.

    Thank you

    -Joe

    Hello

    If I understand well there is no switch that can do what you want.
    http://docs.jQuery.com/selectors

    You need to loop all lines, for example using jQuery each and check the values of column selection list.
    http://API.jQuery.com/jQuery.each/
    If your condition is met then apply/style class.

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • window.location.href JavaScript stopped working on FF 17.0.1

    I used window.location.href to navigate through the pages of my application. Suddenly it no longer works with the upgrade to v 17.0.1

    Still works in v16... but above all the business users upgraded to v17, and now it's a big proglem

    WHAT SHOULD DO?

    solved. It was question of jquery. don't know how to delete the topic

  • How to add ads of Type Lightbox when loading the Page

    Hello world

    We would like to place a box of type lightbox which will dispay on our homepage as soon as the first load of the page. The Lightbox area, we would like to have a simple contact form. I was able to create a viewer with the content we want but cannot find how to open the box when the page is loaded.

    I also tried to use a pre-made contact form and adding the javascript code in the head of the page to load it but it doesn't close alow us to customize enough.

    Anyone have any suggestions on the best way to do it?

    Thank you

    By the link and article, I meant (hyperlink) links on the page.

    It would not take customization on your side, as you have to hide the page elements as they were returning to the page navigation.

    Check this out for customization:

    http://StackOverflow.com/questions/17203427/jQuery-how-to-remember-show-hide-elements-when-navigation-retour-de-UN other-pa

    Thank you

    Sanjit

  • With the arrows photo slide shows

    Hello

    I'm pretty new to muse, and I'm in love!

    Is it possible to make the photos on the work of slideshows with the keyboard, the arrows left and right to go to the next or previous?

    It would be a very big problem for me.

    Thank you very much for your help!

    Hello

    We can do this by using the native functionality of Muse, but you can use your own customization to achieve this goal.

    Here are a few discussion threads:

    http://StackOverflow.com/questions/7114860/jQuery-slidesjs-keyboard-navigation

    http://StackOverflow.com/questions/10290959/how-to-add-arrow-key-navigation-in-addition-to-existant-navigation-sur-site Web - co

    http://jqueryfordesigners.com/index.html%3Fp=231.html

    Thank you

    Sanjit

  • Auto-fill text box values field based on the selection of the menu drop-down

    Try to fill in address, city, province, zip from text fields based on the selected option in a select form field. The following code works fine in Internet Explorer, but in Chrome or Firefox, after selection, text, the fields are filled with the word "undefined."

    I found a PHP script Jquery here version that would probabably do the trick.
    http://StackOverflow.com/questions/3657127/jQuery-populate-text-input-from-table-based-on-select-Valeur

    Maybe someone has a version of CF. they could share?

    Thanks in advance to anyone who can point me to a solution for this code, or a better way to fulfill my need.

    <!--> destinations with address auto-fill, city, etc.
    < script type = "text/javascript" >
    function selectAddress (list) {}
    take the first element is empty
    If (list.selectedIndex > 0) {}
    var locationID = list.options [list.selectedIndex] .value;
    locationAddress var = list.options [list.selectedIndex] .locationAddress;
    var locationCity = list.options [list.selectedIndex] .locationCity;
    var locationState = list.options [list.selectedIndex] .locationState;
    var locationZip = list.options [list.selectedIndex] .locationZip;
    document.getElementById('locationID').value = locationID;
    document.getElementById('locationAddress').value = locationAddress;
    document.getElementById('locationCity').value = locationCity;
    document.getElementById('locationState').value = locationState;
    document.getElementById('locationZip').value = locationZip;
    }
    }
    < /script >
    < b >
    < td align = 'right' bgcolor = "#FFFFFF" valign = "top" > Destination name < table >
    < td align = "left" bgcolor = "#FFFFFF" valign = "top" >
    < select name = "locationID" onChange = "selectAddress (this)" class = "smallforms" > "
    < option value = "" > SELECT the DESTINATION ››› < / option >
    < cfoutput query = "allLocations" >
    "" < option value = "" #locationName # "locationAddress =" #allLocations.locationAddress # "locationCity =" "#allLocations.locationCity #" locationState = "#allLocations.locationState #" locationZip = "#allLocations.locationZip #" > #locationName # < / option >
    < / cfoutput >
    < / select >

    Others: cfinput name = "destinationNameOther" type = "text" class = "smallforms" size = "75" >
    < br / >
    < input id = "locationID" name = "locationID" type = "hidden" > < br >

    Address: < input class = "smallforms" id = "locationAddress" name = "locationAddress" type = "text" size = "30" >
    City: < input class = "smallforms" id = "locationCity" name = "locationCity" type = "text" size = "20" >
    State: < input class = "smallforms" id = "locationState" name = "locationState" type = "text" size = "2" >
    Postal code: < input class = "smallforms" id = "locationZip" name = "locationZip" type = "text" size = "8" > < br / >
    < br / >
    < table > < /tr >

    In your last code done selectAddress refers to "index" but I'm not declared or assigned. I think that you are missing 'var index = list.selectedIndex;' statement.

  • Question about Webwork and JQuery

    Hi all, I'm really a beginner for webwork development, here are some of my question on the development of webwork.

    I want to develop an application on OS 5?, is webwork development can be used to develop the app for OS 5 or only compressed version adapted?

    can I use my knowledge of jquery to use on blackberry app? I mean I can use webwork development for OS 5? friends me suggestions to use mobile jquery that I must be due an extra time still learn.

    Thank you very much

    http://www.BlackBerry.com/developers/docs/WebWorks/API/

    The filter is on the top left.

  • jQuery Playbook questions

    Hello

    From my understanding, jQuery is fully functional in the Playbook Simulator. However, I can't for the life of make me it work.

    I have included the jQuery JS file in my package .bar.

    I have:

    
    
    

    The alert is never called. What I am doing wrong?

    Also, is there any type of console or logging available? I can only assume it's to throw errors, but I don't know where to find them.

    Thank you

    Matt

    Found the problem. It's a shock too. I thought that perhaps there is a problem with your JQuery JS file so I put mine, without realizing right now that I'm on 1.5 and you are on 1.5.1. JQuery 1.5.1 is completely planted on the PlayBook Simulator. (!)  My application doesn't work on it either. Nothing happens.

    Use 1.5 and everything is fine.

    I'll post a separate topic on this issue to warn other developers.

  • Question 1: How do I add or use jQuery in folder level Adobe Javascript.  Question 2: How to write normal Javascript in file level Adobe Javascript ie., getElementbyid etc...  Please find the below code that shows what I am referring

    Here's my level Javascript file, which comes as a Pop up when I click on a created custom button in a PDF reader on your...

    I created a Test.js file and then pasted the code below into it. Then I copy paste this file in the following path: C:\Program Files (x 86) \Adobe\Acrobat 11.0\Acrobat\JavaScripts

    Now I want to know How to add jQuery Code or the Normal Javascript in the code below. Please give an example.

    Note: I do not use forms Javascript here. It is an ACROJS Javascript folder.

    Beginning of the Code

    app.addMenuItem ({cName: "PERSONAL INFORMATION", cParent: "File", cExec: "helloWorld()"});

    helloWorld = app.trustedFunction (function () {var

    app.beginPriv ();

    Dialog1 var = {}

    Description:

    {

    elements:

    [

    {

    type: "cluster."

    name: "invisible."

    align_children: 'align_left,

    elements:

    [

    {

    type: 'static_text. "

    name: 'First Name '.

    },

    {

    type: 'edit_text. "

    alignment: "align_fill",.

    Width: 300,

    height: 20

    }

    ]

    },

    {

    alignment: 'align_left,

    type: "ok_cancel."

    ok_name: "Ok."

    cancel_name: "Cancel".

    }

    ]

    }

    };

    app.execDialog (dialog1);

    app.endPriv ();

    });

    End of the Code

    Let's take a step back and understand what is 'normal' JavaScript. Normal to you probably means browser based, but it is only your point of reference. Any implementation of JavaScript includes at least the core JavaScript language, and that's what you have in the two Acrobat JavaScript, but also browser JavaScript. Things like the JavaScript syntax are dealt with in this part of the language, how are managed types (numbers, strings, arrays, classes,...), but also a number of items of library like for example the Date object. In addition to this basic language, almost all JavaScript implementations have a second part, which is the specific application. In the browser, you deal with HTML and windows and other things that have no meaning in the browser environment. In Acrobat, you work with PDF documents, annotations, form fields and more. The specific web browser Javascript is no more or less 'normal' that the implementation in Acrobat. It takes some getting used to a different environment, and what is the Acrobat JavaScript API reference. You will find all the specific objects in Acrobat and methods described in there. What makes things a little more difficult for you, is that you probably don't know corresponding to the line between the core language and browser-specific extensions, so you'll have some re-learning the language in front of you.

  • Noob question: problem loading jQuery

    Hi all, I have created flash panels Photoshop years ago and now try the HTML5 stuff.  I use Photoshop CC 2014 on Windows 8.1.

    I'm just trying to get a VERY simple operational sample jQuery but for some reason any jQuery refuses to load.  Now, I probably don't do things in the right order, etc, but I have tried all night to make it work:

    C:\Users\Gear\AppData\Roaming\Adobe\CEP\extensions\com.example.jqui\index.html

    <!DOCTYPE html>
    <html>
    <head>
    <script src="./js/libs/jquery-1.11.1.min.js"></script>
    <script>
    $(document).ready(function(){
      $("button").click(function(){
        $("p").hide();
      });
    });
    </script>
    </head>
    <body>
    
    
    <h2>This is a heading</h2>
    <p>This is a paragraph.</p>
    <p>This is another paragraph.</p>
    <button>Click me</button>
    
    
    </body>
    </html>
    
    

    This is an example of jQuery on W3:

    http://www.w3schools.com/jQuery/tryit.asp?filename=tryjquery_hide_p

    I have install the manifest.xml and .debug files, the extension is recognized by Photoshop, no problem and works fine but the example does not seem to load jQuery.  When I debug the extension in Chrome, it says:

    Eception ReferenceError: $ is not defined (index.html, line 6)

    I have triple checked the path to jQuery and it's OK, I even use the full path of the legs of fasteners auto.

    Any help would be GREATLY appreciated!

    Thank you!

    G

    BINGO!

    So I got a sample project from one of the CEP examples that worked well, so I was looking at the differences between the projects, one of them was the jQuery version...

    I loaded jquery - 1.9.1.js instead of jquery - 1.11.1.min.js in my project and it worked fine!

    In addition, I don't know what the problem is, however.

    G

  • Question of IR of jquery...

    Hi all..

    APEX 4.1
    Database 11g

    I have an IR (interactive report), in which I have a defined column
    as ""apex_item.hidden(9,c.c001) '"

    I need to get the values of the element hidden by using jquery.
    I tried different ways, but could not able to find the ""correct selector.

    Please help me with the following jquery script...
    $('table.apexir_WORKSHEET_DATA tr').each(function() 
    {
    //var column_5 = $(this).children('td:nth-child(5)'); working fine
    //alert($(column_5).text()); works fine
    // To get the hidden item value i tried the following
    var custid1 = $(this).find(':hidden').val(); // didn't worked
    var custid2 = $(this).find('[name=f09]'); // didn't worked
    alert(custid2.val()); // didn't worked
    
    }
    );

    Hello

    You get the "Undefined" because you loop all ranks.
    First line is the header line, and there is no hidden item.

    Kind regards
    Jari

    -----
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • JQuery for IR question...

    Hi all...

    Please help with this jquery script I was trying to write.

    I have an IR report, based on the value of the column (column 5), I need to make one
    link (< a href "" > ")" "clickable or not" "which is on (column 7).

    I use the script jquery layman at the address below.
     
    $('table.apexir_WORKSHEET_DATA td:nth-child(5)').each(function() {  // This is the IR column where i need to check the values
    var doc_grp = $(this).text();
    if (doc_grp == 'CONTRACT')  // If the column value is "CONTRACT" I need to make that link "not clickable"
      { 
     $("a.edit-img").removeAttr('onclick'); 
     $("a.edit-img").removeAttr('href'); 
    // The above stmts works fine, but they are applying to all the rows in the IR
     
    //*** I need the above stmnts apply only to the "particular row " that matches the criteria
      
      }
    else
      {
      $(".edit-img").show();
      }
    });
    any who... Please help me with this.

    Thanks in advance...

    The reason that your code is getting applied to all lines is because you specify a class name which line "edit-img" must be used. You are a loop in column 5, check its value but hiding all a links having a class 'edit-img.' What you need to do is set it to hide that the link in the column 7, line being looped. See my fix your code below:

    $('table.apexir_WORKSHEET_DATA td:nth-child(5)').each(function() {  // This is the IR column where i need to check the values
    var doc_grp = $(this).text();
    if (doc_grp == 'CONTRACT')  // If the column value is "CONTRACT" I need to make that link "not clickable"
      {
     //$("a.edit-img").removeAttr('onclick');
     //$("a.edit-img").removeAttr('href');
    // The above stmts works fine, but they are applying to all the rows in the IR
    
    //*** I need the above stmnts apply only to the "particular row " that matches the criteria
    
      // begin correction to your code
       var vo_col7 = $(this).parent('tr').children('td:nth-child(7)');
       $('.edit-img', vo_col7).replaceWith(function() {
          return $(this).text();
       });
      // end correction to your code
    
      }
    else
      {
      $(".edit-img").show();
      }
    });
    

Maybe you are looking for