hide the element without javascript

I have the form for an article that has its default value.

I try hide the element in a state average and ordinary wirh too... but after action insert it doen't register any value

I don't want to use javascript to hide. so...

is it possible to hide point without javascript, so it will not lose its value after insert action?

For the selected condition type, you must specify a "point-name" in Expression1

CITY

Tags: Database

Similar Questions

  • Can't hide from the elements without/with jQuery

    I created new Addon for my Firefox I use myself, but can't get it hide items with or without jQuery. It does not matter at all to use jQuery together.

    XUL file creates the toolbar with a button that have "oncommand ='Unlock ()" "" and it also includes the .js file that have function Unlock()

    Well. in any case, I think that my default files has been implemented correctly, because I have "alert ('Starting...');" before the line item to hide and he says 'go '. "with alert, but after that it is not made effects for the element in the example 'idofelement '.

    js file contains "document.getElementById('idofelement').style.visibility ="hidden"
    I tested different types of methods that hide the element in the example style.display = 'none', but none of them works.

    He always says 'go '. "so he runs the function properly, but nothing happens after that.

    Found the solution. I googled this for several days, but did not find a solution. Just used keywords "firefox addon getelementbyid" and selected "disorders" with it and found the solution. I had to use:

    content.document.getElementById ("id") so in other words I had to add the word 'content' in the front of the document.

    Thank you!

  • Show/hide the elements if the rule is set to true on one of the many elements

    I'm sure I'm missing something really obvious but I've tried a few things and I can't get this to work...

    I need to show the element X if none of the elements A, B or C = 'Y '. Similarly, I want hide the element X if all a, B and C = 'n'.

    I tried to create a single action with A, B and C contained in the 'when' list of items and I tried also create separate stocks for A B and C, but both methods result in X being shown/hidden based on the last element that was changed, do not take into account the other fields.

    For example, if A and B are both equals Y, then I B = N, X is hidden. It must always be displayed as a still is equal to Y.

    What is the correct way to do it? Thank you.

    Hello

    create 1 dynamic action "to change" of P1_A, P1_B, P1_C

    Then set the status of the dynamic measurement JavaScript and enter the javascript, something like (assuming that the fields of the form are P1_A, P1_B, P1_C):

    $v ('P1_A') == 'Y ' |

    $v ('P1_B') == 'Y ' |

    $v ('P1_C') == 'Y '.

    And then set the true action to display the P1_X field

    Concerning

    Bottom

  • show/hide the element to date in the form problem

    Hello!

    I have a form and a few items of date on the same line. The problem is when I use dynamic action to hide one of the items based on another element, this Summit hides all the elements in date on the same line. I think it's the bug. I use Apex 4.0.

    Now, I created a dynamic action that fires when the element changes P2_ITEM. The action is: run the JavaScript code and the code is:
    $('#P2_DATE_ITEM').hide)

    But it hides only an entry of date field. Date picker image and label rises.

    Does anyone know how to hide these two also?

    Hello

    Try

    $('label[for="P2_DATE_ITEM"]').hide();
    $('#P2_DATE_ITEM').hide().next("img").hide();
    

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

  • Calculate the elements without generating a request

    Dear users of the forum,

    It is possible to calculate the elements in a page without generating a request for the page.

    I have 3 items, allows the appeal of quantity, price and total price.

    If I want to calculate the price total that I have to apply, place a process page to calculate, and so forth.
    But the screen is splashing with the request to leave.

    How a javascript function would work, when it is placed in the page header?

    Thank you very much for the help!

    Concerning

    Frank

    Hello

    of course, you can calculate your price without submitting the page.

    What you need is the javascript function that takes the value of the quantity and the price and returns the total value.

    Equip your header of this code page (I guess the name of your items are like P1_PRICE etc..):

    
    

    Create a button, then replace his target at the following URL ("Redirect URL" option button section):

    javascript:calculateTotalSum();
    

    Now, whenever you press the button, total price will be calculated without presenting.

    Kind regards
    Przemek

  • Is there an equivalent in Firefox for the element.style ['javaScript css_to_change']?

    I'm doing a site compatible for Firefox, but the element.style ['CSS_to_change'] doesn't seem to work (example: document.getElementById('element_ID').style [' - moz - transform "] ="rotate (90deg)"; must turn the item whose id is 'element_ID' at 90 degrees). It works in Google Chrome and I wonder if there is anything equivalent with it in Firefox...
    I'm sorry if I ask this question in the wrong place and I thank you in advance! Please let me know when you have an answer.

    Try this:

    document.getElementById('element_ID').style.setProperty('-moz-transform','rotate(90deg)','');
    javascript:void( document.getElementById('question').getElementsByTagName('IMG')[0].style.setProperty('-moz-transform','rotate(180deg)',''));
    
  • Development of the element using Javascript

    Hello experts!

    I have a problem with the setting of a value of element using javascript.

    I have a button on my page which should regulate my point P1_SORT to the value 'test '.

    I call the function with the following statement in the section my button URL:
    javascript:f_setItem('P1_SORT');
    The problem is that the item is not defined when you call the function.
    Maybe you can help me understand why the service is defective and how it should be like.

    The code I have (in my head of page) is as follows:
    <script language="JavaScript" type="text/javascript">
    function f_setItem (P1_SORT)
    { 
    get.add(P1_SORT,('test').value)
    gReturn = get.get();
    get = null; 
    ;
    }
    </script>
    Thanks for your help!

    Sebastian

    'test' is a string? or the element name?

    Try this:

     function f_setItem (P1_SQRT)
    {
    var pValue='test';
    $x(P1_SQRT).value = pValue;
    }
    

    or

     function f_setItem (P1_SQRT)
    {
    var pValue='test';
    $x('P1_SQRT').value = pValue;
    }
    

    but of course it is jquery

    Edit: second work because the element name is P1_SQRT -, as a variable in the function definition. If U accept jquery U should combinate with this example and I think it should work fine

    Edit2: Var initialized U get?

  • HP Pavilion Notebook M1X96UA #A: pointer opens the elements without me top clicks

    I've only had my laptop for two weeks.  I tried to change the sensitivity for the mouse pad, but my pointer is open to all that it is based on without me clicking on it.  It becomes very frustrating.

    Hi there @schase5,

    Yes, if you look at the document Touchpad in my last post, there is a section called the sensitivities of score setting TouchPad and ClickPad. This should help you to change the sensitivity on your TouchPad.

    I would like to know if it works for you.

    Thank you!

  • In good company the child elements of the element without terminals are not visible.

    Hi all

    Jdev version 11.1.1.7.0

    I am facing a company in good standing question...

    Scenario: I create approval Service (BPEL) with flow of human labor and the Bunises rule.

    I'm assingning HW participating using the rule based (HW and BR connection).

    Problem is:

    Shema has element 'unbounded '.

    < name of item = "ExpenseItem" maxOccurs = "unbounded" >

    < complexType >

    <>sequence

    < element name = "ItemID" type = "string" / >

    < element name = "ItemName" type = "string" / >

    < element name = "ItemPrpjectID" type = "string" / >

    < element name = "ItemStatus" type = "string" / >

    < / sequence >

    < / complexType >

    < / item >

    Whenever I have create a Busines to configure rules.

    ExpenseItem rules setting up the child elements are not visible. But those who are required to configure rules.

    If you can help solve me would be useful.

    What is a behavior bedault of the BR? If yes how can I do this?

    Thank you

    David

    Solution found:

    Click on set of rules that you have created.

    Expand rule in there.

    Select the Advanced mode and mode tree, and then click OK.

    Select the root task, click insert pattren and create pattren based on unrelated element (here actually destiny)
    Once you create pattren, will be elements of access under item boundless for the configuration of business rules.

  • AS3: see the hide the elements of the movie clip, single button array.

    Hello and please forgive my Noobdity I teach myself AS3 and stuck on what are obviously the basics.

    I did the simple animations for years without using any AS3 at all, the time has come to take seriously.

    I read the daylights out of all reference documents Adobe now but I am stuck on this task.

    I have 4 objects of movie clip whose visibility I control with two buttons.

    First button, two of these visible clips and the other two will make visible = false

    For example: Mc1 and Mc2 > visible, Mc3 and Mc4 > visible = false

    The second button run the same function but in reverse

    Eg: Mc1 and Mc2 > visible = false, Mc3 and Mc4 > visible

    I've determined correctly or incorrectly reading endless and looking for a table should be the best way to do it.

    I may have to use the child feature add but * shrugs, I'm lost atmo

    I've been blunders on the code for the first of two simple buttons.

    I start slowly form a mindmap what should be done, but it's early days.

    Here is my code and please feel free to

    Last attempt tries to use the mouse on the trigger to control the visible state of the second two clips.

    var wcArray:Array = [myMovieclip1, myMovieclip2];

    var acArray:Array = [myMovieclip3, myMovieclip4];

    acComp_btn.addEventListener (MouseEvent.CLICK, _acComp);

    internal _acComp(e:MouseEvent): void {}

    for each {(var point: MovieClip dans acArray)}

    Item.visible =! item.visible;

    }

    }

    acComp_btn.addEventListener (MouseEvent.MOUSE_OUT, _wcComp);

    internal _wcComp(e:MouseEvent): void {}

    for each {(var point: MovieClip dans wcArray)}

    Item.visible =! item.visible = false;

    }

    }

    Currently run 1050 error: impossible to assign a value, not reference.

    The text in blue works with 2 clips of film acArray of course, where the attempt to use the mouse on.

    Any advice on the solution or the best method to implement would be greatly appreciated.

    For what you're trying to make a table is more complication than a solution, you have already divided in two arrays anyway probably due to this tax... and have two buttons to do isn't necessary, but you may already be knowing that since you have only code for one of them in any case.

    All you need is a button that activates the visible properties to their opposites.

    var array: Array = [myMovieclip2, myMovieclip3, myMovieclip1, myMovieclip4];

    myMovieClip1.visible = myMovieclip2.visible = false;  or the other two... depending on what initially as invisible

    btn.addEventListener (MouseEvent.CLICK, _acComp);

    function _acComp(e:MouseEvent): void {}

    for each {(var point: MovieClip dans tableau)}

    Item.visible =! item.visible;

    }

    }

    LF, you must have two buttons to do the opposite, as you say, then clicking on buttons must end up affecting all the buttons, no not only one of the tables you have done.  If each button should do what you say, then you should not use the! operator since that can go the opposite of what you intend, so you must assign the desired state.

    var wcArray:Array = [myMovieclip1, myMovieclip2];

    var acArray:Array = [myMovieclip3, myMovieclip4];

    acComp_btn.addEventListener (MouseEvent.CLICK, _acComp);

    function _acComp(e:MouseEvent): void {}

    for each {(var point: MovieClip dans acArray)}

    Item.Visible = false;

    }

    for each {(var item2:MovieClip in wcArray)

    Item2.Visible = true;

    }

    }

    wcComp_btn.addEventListener (MouseEvent.CLICK, _wcComp);

    function _wcComp(e:MouseEvent): void {}

    for each {(var point: MovieClip dans wcArray)}

    Item.Visible = false;

    }

    for each {(var item2:MovieClip in acArray)

    Item2.Visible = true;

    }

    }

  • Problem updated to a position of the element using javascript style.top estate version 4.6

    I develop a scrolling of content when the user clicks on an item, the program triggers the event and moves the content, it works perfectly in a device with the 5.0 version of the software, but in devices with software version 4.6 doesn't work

    No trigger that any error just doesn't work

    Here's him sew:

    var pag1 is document.getElementById ('page1');.

    function that removes "px" for the calculation

    function quitapx (str) {}
    return str.replace('px',"")
    }

    function that moves the item (pag1) upwards or downwards

    mueve function (o) {}
    var dir = o.dir;
    posT = Number (quitapx (pag1.style.top))
    If (dir =-1) {}
    If (posT<>
                    PAG1.style.top = posT + 64 + 'px ';
    }
    }
    If (dir = 1) {}
    If (posT > program) {}
                   PAG1.style.top = posT - 64 + 'px '.
    }
    }
    } //mueve1

    clues?

    I already found the problem.

    The first time that the user clicks to move the content, the pag1.style.top property is set to null, in the browser with version 5.0 software ignores and starts running, but in the browser with version 4.6 software detect zero and stop the script.

    the solution I use is

    If (pag1.style.top! == null) {}
    posT = Number (quitapx (pag1.style.top));
    } else {}
    posT = 0;
    }

    And work! Here is a picture.

  • Changing a value of the element in Javascript

    Hello

    I have this code that returns a string in gReturn.

    I want to store this value in diversity - which is a display only text box.

    Were not able to make it work, any ideas?
     function Get_Dealer(pThis,oThis){ 
        var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
                  'APPLICATION_PROCESS=Get_Dealer_Status',0);
          get.add('TEMPORARY_ITEM',pThis.value);
          gReturn = get.get();
          get = null;
    
          document.getElementById(oThis).element.value = gReturn;
          
            }
    Concerning
    Adam

    Use this:

     function Get_Dealer(pThis,oThis){
        var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
                  'APPLICATION_PROCESS=Get_Dealer_Status',0);
          get.add('TEMPORARY_ITEM',pThis.value);
          gReturn = get.get();
          get = null;
    
          $s(oThis.id, gReturn);
    
            }
    
  • Hide/show element at the click of another symbol

    Hello

    I want to hide an element by click. The item that is clicked is inside another symbol, which one that should be hidden.

    Please tell me how I can handle this.

    Thank you very much

    // Get the symbol element "kitten_1" and hide the element "kitten_paw"
    sym.getComposition().getStage().getSymbol("kitten_1").$("kitten_paw").hide();

  • To hide multiple items via javascript or actions in case of different variable values - how?

    Note: I'm still Captivate 8

    The Question has 2 parts:

    (1) is there a possibility to hide (or show) of the elements via javascript instead of shares advanced? I think it would be a much faster workflow. I think of something as

    If variable1 < = 100 screenx.elemeta.hide;

    If variable1 < = 90 screenx.elemetb.hide.

    If variable1 < = 80 screenx.elemetc.hide;

    If variable1 < = 70 screenx.elemetd.hide;

    (2) if it is not possible... OK, I use advanced actions. But there is the 2nd problem: it runs only the first part of it when exporting in HTML5.

    See photo. I try to hide - or no - hide the 9 elements in case of different values in a Variable. Lets say that the value is "7". In se9 is Laura if the value is less than or equal 9 to hide the element ausw_se_10. This method works. In se8 is asket if the value is less than or equal 8 in order to hide the element ausw_se_09 - what you see in the image. This and the following mask does not work. I'm doing something wrong or is this a bug? And is there a solution?

    sc_2015_10_16_erweiterte_aktionen.jpg

    Showing and hiding are a relatively easy control if you use HTML5:

    CP. Hide ("element_name");

    If you want to hide as much as you describe, you would need a very strict naming convention and use a loop to hide items.

  • Extension to hide the files automatically create

    Jon Fitz II:

    I see that you reviewed and supported my 'new idea' post for this function here.  Thank you!

    Who started this idea: write an extension of the user who search folders named with, say, an end concerns underscore and it marks as "hidden".  -As you point out - super massive static sites with a systematic labelling scheme, that would solve this problem with existing functionality.

    A quick check of the documentation of the API shows there is a function that will hide the element currently selected.   I wasn't able to quickly determine if it is possible to select compatible components of JavaScript in a way...   I'm not exactly a JS - Assistant DW extension and could be used for consultations with people who are.

    Which raises a different question: is there a forum Active for people who do this work?    I've been watching the subspace of the Dreamweaver Extensions.   With 11 posts so far this year and similar levels of display in previous years, it can hardly be qualified active.   Alternatives?

    TIA

    I've dabbled in the manufacture of the extensions for Dreamweaver several years ago. It's not easy, that's why companies like DMXZone and WebAssist require much for their extensions. The Dreamweaver Extensions forum, as you have discovered, becomes almost no traffic because developing extensions is highly specialized, and there is a very small circle of people involved.

    Just take a look to the DW API, you should be able to select the files or folders in your site using the following:

    • site.getCurrentSite () - returns the name of the current site
    • site.getLocalRootURL () - takes the name of the site as an argument
    • Use standard JavaScript to loop through the site folders and create an array of those you want to select
    • site.setSelection () - takes an array of files or folders as an argument
    • site. Cloak (site)

    You could probably set it up as a menu item. For more details on the menu items, see Chapter 10 of http://help.adobe.com/en_US/dreamweaver/cs/extend/dreamweaver_cs5_extending.pdf

    To get an idea of how Dreamweaver manages concealment, take a look at Site_Cloaking.htm and Site_Cloaking.js. Under Windows, they are located at C:\Program Files\Adobe\Adobe Dreamweaver CC. 2014.1\configuration\Menus\MM on a Mac, they are going to be in a similar place in the Applications folder. The .htm file creates the menu option, while the .js file executes the masking operation.

Maybe you are looking for