what is the code if you want that only number should be inputted in an html textbox.
If you input letters there will be no letter that would show. If you input numbers, the numbers would show, please help
jQuery has the very cool feature/method ".data", i wonder if there is a way to have the data in the code so that jQuery can use it when the rendering of html is done. Suppose i have a repeater and looping out children, and i want to add some data to those children without using classes etc. Will i have to add javascript to that repeater just to add stuff to the "data of jquery" or is there some better way?
I'd like to use some semantic [X]HTML tags instead of <div>s: <article>, <product>, <footer> etc. Some of them are already presented in the upcoming HTML5, however, it's not fully supported.
Which are the possible cons I might face when Rendering? Using CSS, JS?
The one I remember is: IE6 can't clone tags it doesn't know.
Do you have solution to substring text with html tags in Javascipt? For example:
var str = 'Lorem ipsum <a href="#">dolor <strong>sit</strong> amet</a>, consectetur adipiscing elit.'
html_substr(str, 20)
// return Lorem ipsum <a href="#">dolor <strong>si</strong></a>
html_substr(str, 30)
// return Lorem ipsum <a href="#">dolor <strong>sit</strong> amet</a>, co
Hello,
I would like to know if is there any way to convert a plain unicode string to HTML in Genshi, so, for example, it renders newlines as <br/>.
I want this to render some text entered in a textarea.
Thanks in advance!
Hi all,
Is there any way to remove header and footer of a html page, so that if user print it, there is no header and footer.
User can choose to remove it using print setup, but i wondering is there any css or javascript to remove it programatically?
thank you for any response.
Hi everyone,
I am trying to write a simple Perl CGI script that:
-runs a CLI script
-reads the resulting .out file and converts the data in the file to an HTML table.
Here is some sample data from the .out file:
10.255.202.1 2472327594 1720341
10.255.202.21 2161941840 1484352
10.255.200.0 1642646268 1163742
10.255.200.96 1489876452 1023546
10.255.200.26 1289738466 927513
10.255.202.18 1028316222 706959
10.255.200.36 955477836 703926
Any help would be much appreciated.
-Sebastian
This might have been asked in another way. I am not doing it on the fly however. Once in a while we get pieces of content in word files that have em dashes, bold, italic text and block quotes. Is there a good tool to convert this into a clean html code.
Otherwise what other approaches people take.
hello
i made an HTML page with all widths and heights as percentage "that's primary for my design to work with all resolutions" but when i re-size my web browser everything will be damaged.
is there a way that when i re-size my web browser i can scroll the page ?
Thanks
On this website: http://fa-aft6157.org/ , when viewed in IE8, when you hover the mouse over the links on the left they appear at the top of the page. How can this be fixed in the HTML code?
Hi All,
I M getting porblem in html and css,
I used a bg image for my popup window whose size is 500px width and 400px height;
having a scrollable text in it. but problem is that if i reduce a size of browser it get distorted please help me if i can make it scalable background and according to that text as per browser size
Thanks
Mayur Mate
i have been asked by a client to develop a javascript(mootools)/html/css/php based game as a widget which can be deployed anywhere.
I have not written a widget before, so would love to get some tips and experiences so that i know some of the pitfalls before i start!
Thanks :)
Dan
I'm trying to figure out where to put some code in an email. You know how you can get newsletters with styling and images, etc? I wanted to send some out but I cant figure out where to put the code. Do you add the images as attachments? Do you put the code in the body?
or should you upload the .html file as well?
I'm using latex commands in my html code. When I validate the at w3c validator, it is giving me inavlid markup message.
Line 105, Column 31: non SGML character number 12
\begin{equation}(x^{2})^{4+(frac{1}{5})}\end{equation}
Is there a way to pass validation? Can I ignore this error?
Hi, I have an ASCII String, with HTML entities, like:
à
¨
ç
I need this String to be without those entities and convert them into UTF-8 chars.
Is there any easy way, in java to do that?
Where:
Clazz.method("aà","UTF-8")
returns "aà"
or something like that?
Hello.
I have a html document and I want to delete all the divs of certain class (with all the content). What is the simplest way to do it?
Thank you for your help.
I use this regex on some input,
[^a-zA-Z0-9@#]
However this ends up removing lots of html special characters within the input, such as
227;, #1606;, #1588; (i had to remove the & prefix so that it wouldn't show up as the actual value..)
is there a way that I can convert them to their values so that it will satisfy the regexp expression? I also have no idea why the text decided to be so big.
Example of what I want to have on my page:
To make an title to your website insert <title> and end with </title>. If you want to use a div box then type <div> and end with </div> ..
As you can see, I don't want it to interpret the html, but display it.
I have an HTML textarea:
<textarea>
Some text
Another text in another line
BOOM
Hello there.
</textarea>
I want to be able to vertically scroll to the word BOOM so that it is visible (it doesn't matter on which line it appears).
Is this possible?
I understand that an id must be unique within an HTML/XHTML page.
My question is, for a given element, can I assign multiple ids to it?
<div id="nested_element_123 task_123"></div>
I realize I have an easy solution with simply using a class. I'm just curious about using ids in this manner.