Hi,
I have a string "hello [world] this {is} a (test)" I want to remove all text in braces, e.g. returning "hello this a". But only if the braces match.
Anyone have a nice neat solution?
I have asp:Table with number of asp:Label inside asp:FormView, it represents short stats info.
I need to set Label.CssClass to "red" if it's text isn't "0".
Currently I do this on FormView.DataBound event. But think that it's better to use JavaScript and probably jQuery. How can I do that?
hi,
I'm using several CCK Text Area in my content page. The fields are optional, but if I don't fill them, I see them on the page anyway, and the content is ..
i.e.
FieldName: <br />
I would like to make them disappear instead..
I found out the problem is that CCKEditor add a even if I've never typed in that window. How can I disable this ?
thanks
I have a asp.net textbox(textarea which is in a repeater have single texarea for each record which are read only) I have button (open in new window) when i click on it the content of the text area needs to be rendered in a new window using javascript .
Hello,
I have a div element in HTML document.
I would like to extract all elements inside this div that starts with a known text (e.g. "q17_").
How can I achieve this using JavaScript ?
(If needed, for simplicity, I can assume that all elements inside the div are of type input or select.)
Thanks !
What PHP code can I use to stop showing text at a certain time?
For example:
"Come to this event at 3PM on Monday!"
I don't want that to show after 3:01PM on the site.
i have an html page where i have a table of items (one item per row) where each item is a html link that says "Add" and there is a textbox next to each link with a number in it.
the text link and the textbox are in the same td inside the row of the table.
how do i, using jquery, capture the value from the textbox that is to the right of the link i click on.
How do I insert a subscript charachter in a string in C#? I have nor problems appending a superscript 2 in the same string using char.ConvertFromUtf32(178);, but I struggle with finding a similar solution for the subscripted text. Actually, I'm struggling with finding ANY solution at all to this rather embarrassing issue. :)
In C# WinApp, How Can I add both Text and Value to the items of my comboBox?
I did a search and usually the answers are using "Binding to a source".. but in my case I do not have that source ready in my program...
how can I do something like this:
combo1.Item[1] = "DisplayText";
combo1.Item[1].Value = "useful Value"
I want to read a big text file, what i decided to create four threads and read 25% of file by each one.
and then join them.
but its not more impressive.
can any one tell me can i use concurrent programming for the same.
as my file structure have some data as
name contact compnay policyname policynumber uniqueno
and I want to put all data in hashmap at last.
thanks
Hi all,
I am writing a macro in MS Word which should find all highlighted text in a document and perform some action on each. I am planning a loop to do the search and manipulation part and have no problem with this part of the code.
But I don't know how to find how many iterations I'm going to need. Is there a vay to determine the number of highlights in VBA?
Many thanks in advance.
Are there any snippets to make emacs use the .vim syntax files found in /usr/share/vim/vimfiles/ for coloring text. Many applications like conky have the vim syntax files like "conkyrc.vim" for vim but not for emacs. So is there an easy way to use those files rather than rewriting a new language-mode for each of those available in vimfiles directory.
I was told I have to use winsock, but I dont know where to start. For example, I am trying to access, lets say http://www.newegg.com/, I am trying to get the text title of just the three front page products. Any help is greatly appreciated. :D
how to get the value of input box while submitting the form in php
i need the url like this
www.example.com/te/?a=test&firstname=blabla
<form action="te/?a=test" method="post">
<input type="text" name="firstname" />
<input type="submit" name="button" />
</form>
in Access 2007 how can I display text fields in drop down list while bundling to an ID? not while selecting (we can do this by plying with the width field. but what I need after selecting?
Do we create a hidden field that stores the ID?
http://websitedesignandsupport.com
Hello,
I have a Parent form with some child forms.
Imagine some of these child forms are opened and their name or their text are shown in a something like tabpage. now when i click on a tab page ,the related form must be active.
What can i do?
Thanks.
Hello,
I want to do a loop, in #from and append it to #here
$('#from').match(/http:\/\/\S+/).each(function(){;
var t = $(this).text();
$(t).appendTo('#here');
});
There seems to be an error .
Thanks
Jean
Hello, I need to implement in Html/javascript (or php is possible) a script which works like twitter, when the user writes text in a field a label change showing the characters left.
Can you help me with a simple and easy script example?
hi,
when I write a new text file in Java, I get these characters at the beginning of the file:
¨Ìt
This is the code:
public static void writeMAP(String filename, Object object) throws IOException {
ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(filename));
oos.writeObject(object);
oos.close();
}
thanks
Hi all,
I am wondering how to add shadow on text in android?
I have the following code which is applied on a bitmap and I wanted to be shadowed...
paint.setColor(Color.BLACK);
paint.setTextSize(55);
paint.setFakeBoldText(false);
paint.setShadowLayer(1, 0, 0, Color.BLACK); //This only shadows my whole view...
Thankful for any tips!
Hey, I'm just wondering how to convert a numerical date into text format in PHP
Example change
06.04.2010 to say April 6th 2010
Is there any function already made?
I want to write to a file without overwriting anything. It is a text file containing records. When I delete a specific record, I do not actually remove it from the file, I just put information in the header saying that it is deleted. How can I do this?