change the color of a group of radio

Hello

I'm trying to change the color of a group of buttons (selection), but for some reason, it does not... Here's what I did

Put code in accordance with article Next Page Edit-> JavaScript-> Execute when the Page loads
styleButtonsInGroup ("P24_TIME_REPORTING_CATEGORY");


Change the Page-> HTML header and the Body attribute
< style type = "text/css" >
.radioUnselected {border: 1px solid transparent; background-color: transparent; color: black ;}}
.radioSelected {border: 1px solid #91A5C4; background-color: #91A5C4; color: white ;}}
< / style >
< script type = "text/javascript" >
function styleButtonsInGroup (g)
{
$("#"_+_g_+_"input[type='radio']").each (function)
{
ID var = $(this) .attr ("id");
If ($(this) .attr ("checked"))
{
$(this) .parent ().removeClass("radioUnselected").addClass ("radioSelected");
}
on the other
{
$(this) .parent ().removeClass("radioSelected").addClass ("radioUnselected");
}
});
}
< /script >


I put a sample on APEX. ORACLE.COM


Thanks in advance

Published by: qwe12654 on May 21, 2011 10:58

added
OnChange =-'styleButtonsInGroup ("P24_TIME_REPORTING_CATEGORY")';

in the attributes of html form elements

Kind regards
Shijesh

Tags: Database

Similar Questions

  • How can I change the value of a group of radio buttons to a bidding process?

    I have an interactive report on page 1, and I'm passing the value of a column to the page of the two group of radio buttons.

    I wish I could switch this radio group and pass the parameter currently displayed in the submission process:

    #OWNER #. (CHPWD)
    PUSERNAME = >: P2_USERNAME,.
    PPASSWORD = >: P2_NEWPASSWORD,.
    (PUNLOCK = >: P2_RADIO_LOCKED);

    : P2_RADIO_LOCKED is not acquire any value that I can see.

    Published by: xerosaburu on August 17, 2009 15:07

    Published by: xerosaburu on August 17, 2009 15:08

    Hello:

    You could modify the code for the page process of implantation of the rocker.

    begin
    #OWNER#.CHPWD(
    PUSERNAME => :P2_USERNAME,
    PPASSWORD => :P2_NEWPASSWORD,
    PUNLOCK => :P2_RADIO_LOCKED);
    select decode(:P2_RADIO_LOCKED,'1','2','2','1) into :P2_RADIO_LOCKED from dual;
    end;
    

    CITY

  • Change the color of the KING GROUP

    Hello

    can someone let me know if changing the colors of the KING when I grouped?

    I want the oval KING green or other colour than RED.

    In addition, the oval has an additional ANGLE line. Does anyone know how to get rid of it?

    Hey Krispiekream,

    In terms of getting rid of the extra line, I answered your last thread. What about the color change, unfortunately, return on investment will be one color. You can change this color with a property node, but I don't think that there is a way to change the color of each individual KING (and always keep a return on investment and does not convert the return on investment for an overlay).

  • How to change the color of the radio buttons on question slides

    Hello

    Can I change the color of the radio buttons (right now it is blue) on question slides?

    Thank you very much!

    Not out of the box and only for HTML output. Search for assets HTML option button is there. If replace you it with a custom chart... Here's the path on my system (I'm on Win 7)

    C:\Program Files\Adobe\Adobe Captivate 9 x64\HTML\assets\htmlimages

  • change the color of radio button

    Hi guys

    How can I change the color of a white radio button. I tried to add a class, but his does not work.

    V thanks a lot in advance

    Hi Ken and DottyDog,

    It's true, and it's Roger Johansson aka "456 Berea Street" always points back. And so it is really therefore also read its general articles.

    Hans G.

  • Radio buttons - how to change the color/size?

    The only way I can change the color of the text in a box of AS 3.0 option is through the property of tint in the Properties window. Is there a way to change the color of the text and does not affect the actual button? Also, how can I change the size of the text? Here are the components of button radio dragged onstage, not defined by the code.

    Well, I got it:

    var tf:TextFormat = new TextFormat();
    TF. Color = 0x00FF00;
    TF.font = "Georgia."
    TF. Size = 18;
    myCheckbox.setStyle ("textFormat", tf);
    myButton.setStyle ("textFormat", tf);

    I had to move to the second image, then it worked.

  • Cannot change the color of the Label for the Radio button

    Simple question...

    Why I can't change the color of radio button to white?

    Code:

  • You can change the color of the quiz answer radio buttons / checkboxes?

    Captivate v5.5

    I like to use a background image on my quiz slides (see below) and thus answers boxes option and check boxes (which are gey) do not stand out as much as they would on a white background.

    Quiz boxes.png

    I know that I can reduce the parameter Alpha of background or even use a different background, but before we go down this path, is there anyway to change the color of these buttons/boxes or make them stand out more?

    Noel

    Why don't you simply place a point box culminating or rectangle behind the quiz answer text captions?  Just make it white and set the transparency on this box to be about 50% or more.  The legends of the response text will always be on top.  The area under expected to reduce background noise.  It should only be slightly larger than the area occupied by the text captions.

  • Change the color of the text in a PNG (Image attached)

    The attached picture is a PNG and has a transparent background behind the main design body and the text at the bottom.

    I created the design in indesign and then exported as a PNG file, the background was always white because to achieve the shape of the design, I used a piercing group. After removing the background in photoshop, it is that I find myself with, but what I want to know is, is there an easy way to change the color of the text in the lower part of the black to white in photoshop, rather than change the color of the text in indesign and repeat the whole process?

    Thanks in advance for any help.

    NEW Knockout West Germany Away 90 Text.png

    Just make a selection of words and then use a fill color adjustment layer.

    (Layer > fill new layer > solid color)

    CTRL or command click the thumbnail in the layers panel, and then subtract from selection of everything except the words.

    Use the rectangular selection tool while pressing the Alt or Option key to subtract from selection of everything except the words.

  • I need to know how to change the color of an image.

    I'm not a designer and do not pretend to be. Someone made a logo for me and gave me in photoshop. But I need to change the color of the logo. I bought the creative cloud and watched tutorials for days. I used the Replace Color tool and get out of there, but not really. Help, please. :/

    Hi Rachel, if you have the file have you can edit it directly in its native software that is Adobe Illustrator.
    To change the color to do the following.

    (1) open the file in Adobe Illustrator
    (2) once opened, select the white (or black) arrow tool in the upper left corner of the screen and click on the green lines. 90% this will select the entire line.
    (3) now, look at the bottom of the tools Panel on the left side of the screen, there are two colors. One is for the fill color and one for the color of the outline. One of these two is probably green. If so, double click it and choose the color you want. Click ok in the color Panel and you're done.
    (4) do the same thing on each side of the logo.

    There is a chance, the designer of the whole logo in groups. If this is the case (you will notice because you will not be able to select only the lines), take the black arrow tool and double click on the logo, until you'll be able to simply select the lines.

    Please let me know if it was clear and that you succeed.
    Kind regards

    Martin Benes
    Adobe Acp

  • Change the color of an object with blur

    I have a group of objects, that I submit for a stock site, but as I was testing things I realized that I couldn't change the color of the blurred items that I had developed the appearance. I had expanded the appearance so that if the object has been to scale upwards or downwards, the blur would stay in proportion. How can I maintain the blur effect (trying to make the highlights and shadows mix their better circles), while being able to change the color, AND resize it while maintaining the proportions? All tips are appreciated!

    I found a solution. If someone runs into it, here's how you can resize non-destructive. You don't need to expand appearance so you can keep changing the color and appearance itself. You'll just have to resize using the tool of the scale instead of drag the handles of the object. When you use the scale tool, you can specify that you want to scale appearances.

  • Selection problem.  I imported a piece of vector art: a guy in a t-shirt and jeans.  I want to change the color of the t-shirt but when I "select", the whole picture gets selected including the head, arms and jeans.  How to isolate the t-shirt?

    I imported a piece of vector art that shows a man wearing a t-shirt and blue jeans.  I want to change the color of the t-shirt, but, when I 'select', not only the GET selected shirt made from the head, arms and blue jeans guy.  How do I isolate the image so I am just by selecting the t-shirt?

    Gabriel,

    What happens if you click the fill with the direct Selection tool, and then try?

    Or try to locate T shirt in the layer in the layers palette and select there, then try? You may need to click one or more arrows to look in under/groups/cutting masks / whatever.

  • Mesh &amp; change the colors &gt; redefine work?

    You would think that I could understand this... I just want to change all the hues of a gradient mesh.

    I have an illustration of gradient mesh built by someone else. It looks like B & W, but I discovered that it's actually CMYK. So I went to edit > change the colors and changed it to gray scale.

    lock.jpg

    Now I want to just this illustration to use a unique pantone color, retaining all the shades.  I was play change the colors > redefine using a validation by Wade Zimmerman, but redefine my dialog boxes don't look not the same as the capture of his screen, and I can't seem to do.

    Screen shot 2013-11-05 at 11.51.08 AM.jpg

    On the left side, I get all hues. I tried to create a color group, who gave it to me on the right:

    Color group.jpg

    Now what?  Thank you!!

    In the menu presets choose 1 color position, in the dialog that opens, click on the small icon of grid and choose Pantone desired, e.g., Pantone Solid Coated library and press OK

    in redefining the window, double click on the color in the new column. Select the Pantone color. Quickly enter the pantone number to find, you can type the first space bar for numbers less than 1000

  • change the color of text blocks only the active layer

    Well my script to change the color of the text frame changes the color of all the blocks of text hidden or not.

    I need to change only the visible text blocks.

    If (app.documents.length > 0) {}

    newCMYKColor = new CMYKColor();

    newCMYKColor.black = 0;

    newCMYKColor.cyan = 0;

    newCMYKColor.magenta = 0;

    newCMYKColor.yellow = 0;

    for (i = 0; i < app.activeDocument.textFrames.length; i ++) {}

    textArtRange = app.activeDocument.textFrames [i] .textRange;

    textArtRange.characterAttributes.fillColor = newCMYKColor;

    }

    }

    Any ideas on how the way only change the color of the text on the active layer blocks? In the final script I want to hide all other layers so if it could be done by a visible attribute more easily that would work just as well.

    Thank you

    Duane Leach

    Hello

    It will work for you?  Have not tested much beyond text blocks in groups and those who are just stand-alone on the layer.

    If (app.documents.length > 0) {}

    var thisDoc = app.activeDocument;

    newCMYKColor = new CMYKColor();

    newCMYKColor.black = 00;

    newCMYKColor.cyan = 40;

    newCMYKColor.magenta = 50;

    newCMYKColor.yellow = 50;

    Need to retrieve blocks of text within the groups on the layer.

    var artSel = thisDoc.activeLayer.groupItems;

    for (i = 0; i<>

    If (artSel [i] .hidden == false) {}

    var text = .textFrames artSel [i];

    for (j = 0; j<>

    text [j].textRange.characterAttributes.fillColor = newCMYKColor;

    }

    }

    End to change the rest of the outside groups text boxes.

    var textArtRange = app.activeDocument.activeLayer.textFrames;

    for (k = 0; k<>

    If (textArtRange [k] .hidden is false)

    textArtRange [k].textRange.characterAttributes.fillColor = newCMYKColor

    }

    on the other

    Alert ("it is not any open documents to change...");

  • How to change the color of the texture

    Hello

    I would like to know how can I change the color of a texture in Fireworks, they normally come in gray scale, I would like some red or blue.

    Thanks in advance

    I see your problem. It seems that if the Fireworks if apply textures in white on a transparent background. Thus, overlay on a white object, a texture will become invisible.

    Here's an idea: check the Transparent option (in the property inspector) allows to convert the texture in a sort of mask, making the areas 'textured' invisible object instead of white. If you clone the object and the copy of the lower part of the give a color more dark (and remove the texture), the color of the background object appear through the textured areas of the top object. You can then group the two objects (command-G) to make them easier to handle as a unit.

Maybe you are looking for