selected

Retrieve Selected Text from a Web Browser Control in a

Here's what I am trying to do: Select text from a webpage I pulled up using my web browser control. After clicking a button while this text is still selected I would like a message box to pop-up displaying the text that was highlighted by the user. I do I get this functionality to work in my wpf application? I think I'm on the right tra...

selected entry with a drop down menu in php

I have this drop down list, displaying all the files from a folder, one of which will be selected for use. Is there a way to show which file is selected when you load the page? at the moment it says "select a file" every time. <select name="image" type="text" class="box" id="image" value="<?=$image;?>"> <option value='empty'>Select a fi...

WPF ListBox Image Selected the saga continues

Ok in my ListBox scrolling images w/ text, etc. the saga continues. When I click one of the items, to select it, that runs a process to open a web browser and go to a specific URL. The problem I'm having now is that when the WPF app loses focus, and the web browser opens, the item clicked inside the listbox turns white. Here's the whole ...

How can I speed up jquery :selected selector?

I have a dropdown in a web page with 3830 elements in it. I know, excessive but whatever. In jquery I get the selected option value using the statement: $( "#institutionCombo :selected" ).val(); There is a noticeable pause before the selection is found. Once I get that value I insert it into a textbox on the page, so I know how fast. ...

wxPython wxListCtrl selected row color

I want to have certain rows selected color be red instead of the standard color (blue on windows) so that I can indicate status. Anyone know if this is possible in wxPython? ...

Moving Selected rows Between Gridviews

Hi all, I currently have Gridview1 which gets it's data from a database and displays a list of people.I also have a Gridview2 which is initially blank. I would like to add the functionality of adding/removing rows to gridview2 from gridview1. I've added a checkbox column to gridview1 to allow users to select the records they'd like to ...

can any text on a webpage in a <p> tag or <span> tag be selected programmatically?

can any text on a webpage in a tag or tag be selected programmatically? the input element and textarea element can do that easily, but how about text in other cases? ...

DropDownList, ListItems and SelectedItem

See also: http://stackoverflow.com/questions/428001/dropdowns-filled-with-same-list-item After a day of tracing and debugging, I finally figured out that populating 3 DropDownLists with the same collection of items causes the last selected item to appear in all 3 lists. This appears to be due to the 'selectedness' of an item being a ...

Highlight selected custom control with C# WinForms

I have created a custom control (the control is used for drag and drop) and I want to add focus and selected events to the control. Both need to be visually distinct. So I plan to implement a windows style for both of these events. For focus I have the control drawing a solid and a dotted line around the control using the following code ...

What values can appear in the "selected" attribute of the "option" tag?

I have some markup similar to the following: <select> <option selected="selected">Apple</option> <option selected="">Orange</option> </select> In this case, "Orange" shows as the selected item. I would have expected making the selected attribute blank would undo its effects. Is there a way to write this without simply leaving th...

jQuery highlighting selected columns only in a table

Hey all, I see this post on highlighting even columns but can I highlight only selected columns? Here is the code they use: $("table.Table22 > tbody > tr > td:nth-child(even)").css("background","blue"); But I would like: NOTE: the class="highlight" will be on the selected columns, so if I selected column 3 the class="highlight" woul...

iPhone app: SDK 3.0 : Button Selected State: Can't get working!!!

Trying to do simple button functionality. Button A. It has 3 states: default, highlighted, selected. Should UNSELECT when clicked again. For the life of me, I can't even get a simple 3 state functionality established. Highlight (on press) appears built in (goes to "stock" blue). I"ve used Button Attributes to load in image for select...

Replace selected code from eclipse editor thru plugin comand

How do I replace the selected section of code (selected by mouse selection) in eclipse editor and replace it with the same code only in /* selected text / through a plugin? I have already designed a plugin to create a button in the toolbar. When I click it, I need it to change the text that is selected and put it into / */ ...

jquery reserved words

Is there a list of jQuery reserved words published somewhere? I ask because jQuery won't return a value for a class I'm using called "selected". If I change the class name to something else it is found. Example: <ul> <li><a id="a1" class="selected" href="#tab1">Part I</a></li> </ul> alert($('ul li a').attr("class")); I get an em...

wpf set ComboBox selected item highlight color

Hello! I need to change the highlight color of a ComboBox's selected item in the popup list. I've found several tutorials explaining how to do this, but all of them either use Blend, which I do not have and cannot obtain, or involve changing the system default colors--which seems like a hack to me. Can someone point me to the template...

Android Selected positions in a listview

How can I retrieve the positions of the selected item in a multichoice listView ? The getSelectedItemPosition method returns only the first one... ...

UITableViewCell selection stays in all cells !!

I am still in the process of getting myself acquainted with the iPhone SDK. This is what I am trying to do : I have a UIScrollView and each scroll view has an UITableView and I have implemented a custom UITableViewCell. The desired functionality is initially there is no selection, then the user selects the row and scrolls and makes a...

Overriding default jQuery UI tab from link on other page

Hi all, I am using jQuery UI tabs (v1.7x) on the home page of a site I'm working on at the moment, and they are set up as follows: jQuery(document).ready(function($) { $("#mastheadhome").tabs({ selected:4, fx: {opacity: 'toggle'} }); }); It's all working great when the page loads, and the tab I want to be displayed by default is dis...

how to get selected text from iframe with javascript ?

<html> <body> <script type="text/javascript"> function smth() { if (document.getSelection) { var str = document.getSelection(); if (window.RegExp) { var regstr = unescape("%20%20%20%20%20"); var regexp = new RegExp(regstr, "g"); str = str.replace(regexp, ""); } } else if (document.selectio...

Getting Selected Control.

Hello I have a "canvas" (which is just a Panel Control), and the user can click a button to add certain controls to the canvas i.e. labels, link labels, images etc... And then they can edit those controls, like they can edit the text of the label they just added... But I'm trying to let them choose a new font and a new color for the co...