options

How to Remove Background Color (PowerShell)

I was playing around with PowerShell today and added a background color to all text ...now I want it gone! Anyone know how to do that, as a side note I was trying to change the color of the whole blank area that fills the application (formerly known as the background ...good job Microsoft) so if you know how to do that please do share. ...

show/hide checkbox based on select option value

How to show/hide a checkbox based on select option value? I want to show a checkbox based on a single value in select option and want to hide it when other values are selected. I am trying for jquery solution. $('#abcselect').change(function(){$('#unknownlicense').toggle($(this).val() == 'first')}); ...

When designing websites, what are my options for data storage?

I am a website designer, and I design both sites and applications for the web. I use PHP. I often find I have to store information, which needs to be accessed by the user after the browser is closed. Up until now I have always used a database (MySQL to be precise) to store information, however sometimes, I feel that I am storing info...

Visual Studio go to implementation

Hi everyone, On right mouse click on method call, we get context menu with options Go to definition and Go to implementation options among others. Why sometimes there is no Go to implementation option? Thanks a lot. ...

Installation Option for ASP .NET Web Service Application

I am trying to create a ASP .NET Web Service Application using Visual Studio 2005(Version 8.0.50727.42). Unfortunately, I do not get any options for creating such a project. I am guessing it has to do with visual studio installation options. I am only enabling the components, Visual C#, Visual Web Developer and SQL server 2005. I am hop...

Please suggest a good solution

In my project, I want to implement code where I need to keep two list box(asp control), and I want to implement add remove like functionality between these two list box that is removing one item from list box should be added to another and removing from another should be added to first. How can I use JavaScript to achieve this effect? A...

How can I set my options menu up so that there are only 2 buttons per row?

I was trying to set up my options menu so that there would be 2 buttons on the 1st and 2nd row and then 1 button on the 3rd row. Here is the code I was trying to use but I'm guessing groupID argument isn't what I thought it was. menu.add(1, MENU_NAME, 1, "by Name"); menu.add(1, MENU_NUMBER, 2, "by Number"); menu.add(2, MENU_POSIT...

getopts for Windows batch files?

Is there an easy way to detect options/switches passed in to a batch file via the command line? I'm looking for something along the lines of sh's and bash's getopts. ...

C++ / Qt : passing variables to be changed in the class

Hello, So I have two forms in my project: MainWindow and Options Form (OptForm; QWidget); Now, I create (simply dragging to a form) a QPushButton in MainWindow to open OptForm, and passing in variables, which OptForm can change. void MainWindow::openOpt() //Slot; QPushButton calls(?) it { OptForm w (this->variable1,this->variable2,...

Displaying duplicate options values in a select with Cakephp

Hi, Using the form helper in Cakephp 1.3, I'm trying to display a list (drop-down list) which contains several duplicates value fields (in <option> tag of course), but cake seems not to want to let me doing it, and outputs only the first occurrence of each value. For instance, here's the 'options' array of the $form->input: array( ...

How does jquery-ui know how to bind event callbacks supplied as init options?

How does jquery-ui knows to bind callbacks passed as init options? I'm thinking the answer is somewhere in the $.widget.bridge method (ln 71) but I'm not entirely sure what's going on there. An example of what I'm talking about is something like the autocomplete search event. The code example shows that I can bind to 'search' with init ...

Selecting a "select option" after creating it with ajax

I have a page that has a series of "related" selects. Everything works fine UNLESS there is an option that is pre-selected. I can set the "pre-selection" to work if I put an "alert" in the code but without it it doesn't work. For Example: function loader(){ if ($("#prod_1").val() > 0){ switchBatch(1); $('#batch_1')...

Solaris equivalent of -o option of grep on Linux

hi I run the following on sun Solaris (its run OK on Linux) but not on sun Solaris name="(WORD = (TCPIP = (PROTOCOL = TCP)(WORD = ALIAS_NAME)(PORT = 10234))" echo $name | grep -o "(WORD = (TCPIP = (PROTOCOL = TCP)(WORD = ALIAS_NAME)(PORT = 10234))" grep: illegal option -- o Usage: grep -hblcnsviw pattern file . . . my question which...

Style a select and options elements with multiple columns.

I'm using google translate selects as a reference. When you click to choose the languages the options shows with multiple columns. http://translate.google.com/ How can I do that ? ...

enable tinyMce on all the node except one.

node/* user/* comment/* This is what i am using to enable tinyMCE drupal on particular pages. Now what i am looking for is to apply on all the NODES except the one having id (eg 100). How can i do that. ...

Can optparse skip unknown options, to be processed later in a ruby program?

Is there any way to kick off optparse several times in one Ruby program, each with different sets of options? Example: $ myscript.rb --subsys1opt a --subsys2opt b here, myscript.rb would use subsys1 and subsys2, delegating their options handling logic to them, possibly in a sequence where 'a' is processed first, followed by 'b' in s...

Java heap size problems with SpringSource tcServer on CloudFoundry

I am using Cloud Foundry with tcServer to deploy my java application but am experiencing out-of-memory issues as I cannot seem to get any java heap settings to take effect. Does anyone have any experience of changing java heap settings using the Cloud Foundry interface? I am using an large EC2 instance (64bit) and I have tried the follo...

C# - Changing Windows Folder Option Setting

I need to be able to have access to a hidden file and if I try to access it without the appropriate setting set, I will get an access error. Is there a way to change this option: http://img213.imageshack.us/img213/658/captureplz.png through C# code? I am guessing the Registry, but I'm not sure where this would be. ...

How to make HTML combo box save values added by user in textbox?

I have made a combobox for a web page. It takes values from user into text box & adds those to list on double click in text box. I want to make user entered values permanently stored as option in list. How can I do it. One more question is how can I count the number of options in list so that I add an element next to that. Here is my co...

Internet Explorer doesn't know how to add options tag to a select in jquery...

Hi there, Im facing a problem with jquery in the Internet Explorer 7 and 8: Im Trying to add a option tag to a existing select: var s = document.getElementById("category"); s.options.add(select_option); But IE just says: “Object doesn't support this property or method” and points to the s.options.add(select_option); line... Anybody...