Hi,
How do I auto-resize the input type="text" field with jQuery? I want it to be like 100px wide at the start, then make it auto-widening as user inputs text... is that possible?
Hello guys,
A quick question: how do I programatically select the text fragment of the page in FireFox? For example, there's a paragraph of text, user clicks the button and symbols from 10-th to 15-th are selected as if user dragged a mouse in a regular way.
I like to read string from text file the text file consists of information below
con = new MySqlConnection("server=localhost;user id=root; password=""; database=workplantype; pooling=false;");
i like to read server name such as"localhost" here and user id such as"root" here,how can i read this.
What is the easiest way to detect a character in a text field?
I want to be able to detect a certain character and replace that character with another specific character.
So If I write in a text field... "zyxw" I want it to be replaced with "abcd".
I'm a newbie and don't really know where to start with this or how to go about it. If anyone has any methods of doing this, I would really appreciate it.
In the Crystal Reports editor that comes with Visual Studio (2008) is it possible to align text to the center of a text box rather than to the top?
I can't find the option anywhere and a Google search is not encouraging but I just can't bring myself to believe that they would not include such an obvious feature.
I have the below text field in my page:
<input class="message" id="message" name="message" type="text" size="65" />
For some reason in the latest FireFox for OS X it is about 200pixels wider than it is in the latest Chrome (mac/pc) FireFox(pc) and IE(pc)
Any suggestions on how I can fix this or why this is happening?
I am building a web site similar to Craigslist. I would like to know how to store the html formatted text (bold / italics / font size etc) in a sql 2008 database?
In order words, the user would enter their text, format it with font size, bold etc and save the information. Whats the most efficient way to store that in a database?
I have a file that looks something like this:
ABC
DEF
GHI
I have a shell variable that looks something like this:
var="MRD"
What I want to do, is to make my file look like this:
ABC
MRD
DEF
GHI
I was trying to do this:
sed -i -e 's/ABC/&$var/g' text.txt
but it only inserts $var instead of the value. I also tried this:
sed -i -e 's/ABC/&"$var"/g' text.txt
but that didn't work either. Any thoughts?
Thanks!
I would like to check if some text node is 'in a button'. As for checcking if the text is 'part of a link' we use isInAnchor, what would be needed for the button issue?
Thanks.
browsing some html code I find a text input coded as:
<input type="text" name="Email<%=orderRow.ID %>_<%=i %>" class="{email: true}" />
but need help understanding what's happening with the class declaration. It's not part of hte .net-ness of the page, right - lack of '<%' and '%' is telling me that. But I haven't seen an object used in a class name before.
thx
I need a text file in the form:
aardvark : animal
atlas : collection of maps
.
.
.
.
.
and so on.
I want to use this text file to create my own dictionary like Artha or Wordweb.It will be Python based with Tkinter for GUI.
Where can I obtain such a file.
I'm trying to validate the entry of text using Python/tkInter
def validate_text():
return False
text = Entry(textframe, validate="focusout", validatecommand=validate_text)
where validate_text is the function - I've tried always returning False and always returning True and there's no difference in the outcome..? Is there a set of arguments in the function that I need to include?
Edit - changed from NONE to focusout...still not working
Hi,
i need to dump my sql query result into the text file. i have created the following query,
DECLARE @cmd VARCHAR(2048)
SET @cmd = 'OSQL -localhost -CRN370 '
+ ' -UCRN370 -PCRN370'
+ ' -Q"SELECT TOP 5 GageId FROM EwQMS370..msgages"'
+ ' -oc:\authors.txt'
EXEC master..xp_cmdshell @cmd, NO_OUTPUT
The above query created the text file authors.txt. But the content of the file shows the following error message
" Error: Conflicting switches : -U and -E "
Any help really appreciated
I need to detect whether the text within a cell is struck out or not. I'm using this:
Cell cc = sheet.getCell("B1");
CellFormat format = cc.getCellFormat();
System.out.println(format.getFont().isStruckout());
but I remember I read somewhere that CellFormat is deprecated and CellFeatures should be used instead. How could one find out whether a text is struck out using CellFeatures?
i used jquery's jqrte text editor which u can download from jqframework.com/jqrte but it has many draw backs.
could any one please suggest me lite weight jquery text editor with common tools as well as table, image upload link with browse button.
thanks in advance..
Currently i have sql-server nvarchar(max) column which has text that starts with
"""
The only thing that varies in the pattern is the < in the class name.
The common part is
""
Some sample values are
""
""
""
All the
These span text are present only at the beginning of the column. Any such matching span in the middle should not be removed or matched.
Whats the sql server query with regex to remove all these occurance of span?
You know the neat text zoom feature in VS2010 where you hold down Ctrl and then use your scroll wheel? Well, this seems to happen by default (and without ever pressing Ctrl) to nearly every file I open.
Usually I open a file and have to scroll to some lower point, but instead it starts zooming the text! I have found that by tapping the Ctrl key VS then realizes that it should scroll instead of zoom, but it's still very annoying.
Any ideas?
Hi guys
Just wondering how you would go about creating the effect as seen in the following image:
Image
The part i'd like to attempt to recreate is the gradient within the text field itself along with the line border surrounding the text box.
Thanks.
i am trying to do
public string str = txtText.Text;
but it wont let me use txtText.txt so how would I declare that so it can be used everywhere?
I can't use it in the button1_click event because if I do it messes it up because I am having a string retrieve from the textbox and set to the textbox so it doesn't work right so I have to have it retrieve the textbox's text somewhere else then set to it.
Hi all
I use a Wizard control in the page with some steps. Is there possible to change the text for Next button of each step. The text for each step is different.
Best Regards,
I need to Pass some data to a text file and save that text file in a SQL Server 2005 database.
Then I'll need to be able to load that textfile into a C# WinForms DataGrid.
How do I do that in C#?
I'm implementing a little chat application where I receive messages from a server, which I would like to display to a user. As I'm more of a backend guy, and lacking experience in frontend development, I don't know which element would be suited best to output the text.
Two options come to my mind:
Using a plain div
Using a textarea (as far as I understand, this is intended to be used for input).
(Would also be nice if I could somehow fade in the text using JQuery).