I am generating a page which renders a list of linkbuttons and labels. Now I want a javascript that parses the inner text of these controls and makes bold those with ... |
I have a series of texfields, which I'd like to format as currency. Preferably, this would be done on the fly but at least onblur. What I mean by currency format ... |
I use -moz-border-radius and -webkit-border-radius for making rounded corner. However as we know IE 7 doesn't support that. What I would like to do is to basically use standard for firefox ... |
Is there a built in function of JavaScript to convert a string into a current format?
For example
var a = '1234';
a.convertToCurrency(); // return $1,234
UPDATE
Please note that I want the function ... |
The source code is already formatted using newline characters and whitespace.
Goals:
- keep source formatting as long as lines fit in the screen horizontally (e.g. pre)
- show line numbers on the left side aligned ...
|
I am working on a cross browser web based annotation toolset, which allows the users to select any part of a web page
- HIGHLIGHT, if you select:
john is ... |
i'm using java script to dynamically create an element and populate it with content. after i appended it as a child to an existing element of the current dom tree, the ... |
|
I am passing value of text-area in a.cfm in variable of GetXmlHttpObject to b.cfm page and displaying the value in a . How can I get exact formatting of the text ... |
The formatting of HTML and Javascript is just crazy. It actively works against you. Does anybody know how to turn this off completely? (I Do not speak about the HTML designer, ... |
I am trying to prevent text highlighting in Firefox for some, but not all elements on the page. Consider the following:
<div style="-moz-user-select: none;">
I cannot be highlighted
<div ...
|
How do I add code snippets to a web page? I've built a jquery plugin for my front-end team and I want to build a quick page illustrating its use. I ... |
Suppose you have a text-field in your webpage. The value inside text-field is "This is your welcome text". Is there any way by which I can provide red color to "welcome" ... |
want to use javascript in order to print html page in landscape format same as that when we print using landscpe format ?
|
How do I insert a smiley in the HTML programatically? I want to know the logic as how does it exist along with text? Is it a styled ASCII character or ... |
I'm looking for a set of CSS/JS code that would let me create special text areas with properly formatted and displayed code samples similar to this.
Would you please suggest ... |
I have been looking around for a HTML formatter to incorporate with a project I am doing. I need it to be written in Javascript since I want the formatting done ... |
I want VS to place a specific amount of tabs to help me write my css in such format:
#divAddParts
{
width ...
|
I have one line of code that I'm mixing JQuery / HTML but I think I have a syntax error somewhere around the <a href Can anyone spot the issue please?
Here ... |
I'm looking for a way to apply some formatting to a single-line text input field in JavaScript. It would work like this:
The user types in a formula, such as:
(7 + 3) ... |
I am working on fckeditor and to get the data that user enters in fckeditor, I am using the following line
var oEditor = FCKeditorAPI.GetInstance('htmlEditor');
htmlCode = "<p>" + oEditor.GetHTML()+"</p>";
But, oEditor.GetHTML() ... |
I am writing a CKEditor plugin to apply a specific class to an element. Basically this class
is setting the text colour to a specific redish colour.
Anyways, I am not getting how ... |
The objective is to be able to click a link to bring up a new window that displays the formatted source code from the parent window.
Through research, I was able to ... |
Hi, i am having some problems keeping the formatting of elements the same for html and javascript, i have a seperate css file for all the formatting of the tags in html, and when i use javascript i want it to stay the same. eg. when i use Heading below it wont print the same style as above, the ... |
Formatting HTML of Javascript Output Hello - I was not sure where to put this - the CGI or Javascript file. Anyhow, I have a CGI counter that I pulled off the net, which I like a lot. The counter works perfectly. I am using Javascript to include the output (i.e. the counter) in my HTML file for now. Again, I ... |
Sorry BarrMan, I have three paragraphs with bolds underlines an bullet points. Placing the html code witin the quotes, in this case, shows all the text along with the html code. I had written a very long explanation earlier but the "post quick reply" froze on me a few times so I cut it to that vague sentence with a few ... |
Dear Friends, I have a requirement to send an Email thru Javascript in HTML format. PFA Attached sample EMail HTML. Requirements are * Make sure we use Times NEw Roman size 10 font for the message text * Make sure we BOLD the text value.. I know it's achievable only thru some HTML identifying logic or use of some HTML tags ... |
|
|
I'm not very good or experienced when it comes to javascript and I would think this is an easy thing to do. I have this script that calculates postage and packaging prices and also gives an estimated delivery time. However I don't know how to print these answers as normal text rather than as text within an input field. Here is ... |
by superdezign Thu Jun 28, 2007 4:30 pm I don't believe that it is valid to put a block element inside of an inline element ( in ). Anyway, as long as IE6 is in use, you'll need JavaScript for the hovering as they don't support li:hover, div:hover, and such. I've actually got it queued in my to-do list to ... |
|
|
|
|
Hi All, I've been reading Sitepoint for sometime and I've got a couple of the books recently, which has really helped me to develop. I've been asked by a workmate to help him with a site that he's currently working on. He wants to apply a different CSS format to one of the words that occurs very frequently and I wondered ... |
Apply CSS or Formatting To Focus Hello, I'm a php guy and I'm pretty much terrible with javascript. I've setup a form validation script and it's working well. When a form field doesn't meet my criteria, the given field takes the focus. This is the good part. The bad part is the form field with focus is at the very very ... |
|
|
|