javascript - How do I make an HTML text box show a hint when empty?

javascript - How do I make an HTML text box show a hint when empty?

I want the search box on my web page to display the word "Search" in gray italics. When the box receives focus, it should look just like an empty text box. If there is already text in it, it should di…


Is there a way to logically group controls in WPF

Here's the scenario I have a Grid with some TextBlock controls, each in a separate cell in the grid. Logically I want to be able to set the Visibility on them bound to a property in my ViewModel. But…


Include a text file content into a WiX script

Is there a way to read value for the WiX variable from a text file? What I am trying to do is to include a version-specific information into instlal package. This version information extracted into t…


How to add image in expandable List in parent in android?

And is it possible to customize the child in expandable list?…


Expand/collapse section in UITableView in iOS

Could somebody tell me the way to perform UITableView expandable/collapsible animations in sections of UITableView as below? or…


WPF GroupBox with no header space

Easy one, I would like to have a GroupBox with no header space alt text http://www.freeimagehosting.net/uploads/1d3f80b749.png The closest thing is a border, but the border "by default" does not have…


android - Animation for expandableListView

Is it possible to apply an expand or collapse animation for expandableListView?…



objective c - Checking if a NSInteger is odd or even

I have been trying to check whether an NSInteger is odd or even. I have found a way to do it using C but it doesn't work with Objective-C. How would I do this?…


android - ExpandableListView collapsing all parent items

I need a clue how to collapse(or find IDs for) all parent items in ExpandableListView. Thanks, Aleksander…


objective c - How to truncate the string into required length in iphone sdk?

I am having a string which contains more the 25 characters; NSString*[email protected]"This is the string to be truncated to 15 characters only"; In the above string I need only the 15 characters to be stored…




android example with custom how view listview expandablelistview expand github